Joined: 10 Mar 2005 Posts: 478 Location: Milan, Italy
You can pass parameter from JCL to a Cobol program in Parm or Sysin
Parm must be specify in jcl and Sysin parameter can be passed as instream DD or as sequentia/partitioned file.
i.e.
//STEP010P EXEC PGM=PGMCOBOL,PARM='......'
and
//SYSIN DD *
.....
or
//SYSIN DD DISP=SHR,DSN=MYDATASET.OR.LIBRARY.MEMBER