How to link edit CEEOUPT whit program.



Support for C, C++, COBOL, PL/I, Fortran and assembler applications' runtime Environment LE.

How to link edit CEEOUPT whit program.

Postby MeSh » Sat Dec 06, 2014 10:03 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?
//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
MeSh
 
Posts: 10
Joined: Wed Oct 30, 2013 12:44 pm
Has thanked: 5 times
Been thanked: 0 time

Re: How to link edit CEEOUPT whit program.

Postby Robert Sample » Sun Dec 07, 2014 12:36 am

The usual way to invoke an LE run-time option in a batch program is to use the PARM= option of the EXEC statement. If you must use CEEUOPT, you compile it into a load module using the provided sample JCL; you then INCLUDE the load module CEEUOPT in your application program compile. How to do that will depend upon your site and how it compiles programs (the process varies by site quite a bit).
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to Language Environment

 


  • Related topics
    Replies
    Views
    Last post