There are two ways to pass data to a program via JCL -
- The EXEC statement PARM parameter.
// EXEC PGM=apgm,PARM='1 to 100 characters of data the program can retrieve'
- An in stream data set
// EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT2 DD SYSOUT=*
//SYSUT1 DD *
Hello lazy, this data was in your JCL