Learning JCL
Posted: Wed Oct 13, 2021 11:40 pm
Hi, I am trying to teach myself JCL and COBOL so that I can understand what is going on when the devs push their code to certain areas of the mainframe. In doing so I understand Cobol but I am struggling to understand JCL and hoping I could get some pointers.
I wrote the cliche hello world code in COBOL and trying to write a JCL script to run it. I think I need's but I am not sure which ones. Also, this just does not look right. Any advice would be helpful. Below is my script.
Basic Job Card
//STEP1 EXEC PRG=IGYCRCTL,COND(4,LT)
//*
//STEPLIB DD DSN=<COMPILER-LOCATION>
//*
//SYSIN DD DSN=<MY-COBOL-PROGRAM>
//*
//SYSOUT DD SYSOUT=*
I wrote the cliche hello world code in COBOL and trying to write a JCL script to run it. I think I need
SYSUT
Basic Job Card
//STEP1 EXEC PRG=IGYCRCTL,COND(4,LT)
//*
//STEPLIB DD DSN=<COMPILER-LOCATION>
//*
//SYSIN DD DSN=<MY-COBOL-PROGRAM>
//*
//SYSOUT DD SYSOUT=*