View previous topic :: View next topic
|
Author |
Message |
vbhat
New User
Joined: 29 Apr 2005 Posts: 38
|
|
|
|
How do you pass a parameter from jcl to a cobol program apart from PARM and SYSIN DD*? |
|
Back to top |
|
|
naveensri2005 Currently Banned New User
Joined: 22 Mar 2005 Posts: 51 Location: chennai
|
|
|
|
HI,
one is ddname. u r using vsam files or ps files.
regards.
naveen |
|
Back to top |
|
|
vbhat
New User
Joined: 29 Apr 2005 Posts: 38
|
|
|
|
can you give me an example and explain it |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 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 |
|
Back to top |
|
|
|