Skip to content

Instantly share code, notes, and snippets.

@mainframed
Created June 24, 2020 00:09
Show Gist options
  • Save mainframed/16f174c0535955ac71b42bbc23170945 to your computer and use it in GitHub Desktop.
Save mainframed/16f174c0535955ac71b42bbc23170945 to your computer and use it in GitHub Desktop.
//COBCOMP JOB 'Compile COBOL',NOTIFY=&SYSUID
//IBMLIB JCLLIB ORDER=DFH520.CICS.SDFHPROC
//* make sure that the PROGLIB in the DFHYITVL is pointed
//* to your CICS loadlib. If you are not sure about this
//* you can go to The JESJCL of the job for your CICS
//* region in Spool and check for DFHRPL dd statement.
//CPLSTP EXEC DFHYITVL,PROGLIB='USER.CICSLOAD',
// INDEX='DFH520.CICS',
// DSCTLIB='DFH520.CICS.SDFHCOB',
// AD370HLQ='IGY520',
// LE370HLQ='CEE'
//* PROGLIB is where the compiled CICS program is stored!
//* The DD below is the source of the program to compile!
//TRN.SYSIN DD DSN=PHIL.CICS(HLOWRLDN),DISP=SHR
//* In PROGLIB there will be a member called HLO1
//* The (R) means 'replace' if the member already exists
//* Use CEDA to install:
//* CEDA DEFINE PROG(HLO1) GROUP(HELLOW)
//* CEDA DEFINE TRANSACTION(HELL) GROUP(HELLOW) PROGRAM(HLO1)
//* CEDA INSTALL GROUP(HELLOW)
//LKED.SYSIN DD *
NAME HLO1(R)
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment