Ways of passing data from JCL to Program ?
Posted:
Sun Apr 17, 2016 4:10 pm
by ganeshj_1983
Ways of passing data from JCL to Program ?
Re: Ways of passing data from JCL to Program ?
Posted:
Mon Apr 18, 2016 7:30 pm
by willy jensen
More specifically refer to the JCL Reference manual for the description of the SYSIN DD statement.
Re: Ways of passing data from JCL to Program ?
Posted:
Mon Apr 18, 2016 8:29 pm
by steve-myers
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
/*