How to link edit CEEOUPT whit program.

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
mehdi_shri
Member
Posts: 8
Joined: Sat Jun 09, 2012 2:48 pm
Location: Iran

How to link edit CEEOUPT whit program.

Post by mehdi_shri » Sat Dec 06, 2014 9:44 pm

Dear friends
I have a dificult problem to understanding how to use lanquage envirounment run time option in a CICS COBOL program.
I try and reading manuals of IBM but not subject cleared for me. I want only to know How I can Link-edit a CEEUOPT whit my program.
First I Assemble and link edit the CEEUOPT and put it on a Liberary. Then I compile my cobol program and produce an OBJECT code of this. Now what I must to du? Whit which sysnax.
I know I must use HEWL program to linkedit them. But which dataset and member (OJBECT code of CEEUOPT or load module of CEEUOPT that was created) I must use in SYSLIB and SYSLIN of HEWL program? Is the following job true?

Code: Select all

//LINKER    JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID                  
//LKED   EXEC PGM=HEWL,REGION=0M #-LINK-EDIT STEP                  
//SYSLIB  DD  DSNAME=CEE.SCEELKED,DISP=SHR                         
//        DD  DSNAME=CEE.SCEERUN,DISP=SHR                          
//        DD  DSNAME=CEE.SCEERUN2,DISP=SHR                         
//        DD  DSNAME=CICSTS41.CICS.SDFHLOAD,DISP=SHR               
//SYSPRINT DD  SYSOUT=*                                            
//SYSLIN  DD  DSNAME=OPR23.BNK.OBJDECK(MYPROG1),DISP=SHR          
//SYSIN   DD *                                                     
     INCLUDE SYSLIB(CEEUOPT)                                       
//SYSLMOD DD  DSNAME=OPR23.BNK.PROGLOAD(MYPROG1),DISP=SHR         
//SYSUT1  DD  UNIT=SYSALLDA,SPACE=(TRK,(10,10))                    
I want to know that in this JCL "I must identify the CEEUOPT object code or CEEUOPT load module"?
What is another way to introduce a LE runtime option to a CICS Cobol program?
Thanks a lot

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others