View previous topic :: View next topic
|
Author |
Message |
Sathya.S
New User
Joined: 04 Apr 2007 Posts: 2 Location: CBE
|
|
|
|
hi ,
Can any body please explain me the usage of PARM in EXEC step in JCL? |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
PARM is used to pass values to the program from JCL.
Passed parameters are received in the program in Linkage section.
Maximum of 100 charactars canbe passed through PARM.
For more information on PARM, refer 'jcl manual'. Manuals can be accessed by link provided at the top of the page. |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
Hi,
To add to agkshirsagar, Parm is also used to pass compiler options. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Here's a little secret: A compiler is actually a program...The "compiler options" are actually parameters passed to a program
O. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
In some languages, PL/I being one, one can pass PL/I runtime parameters on the program's EXEC line, as well as parms passed to the program. They are separated in the PARM value by, I think, a slash (/).
Note that this differs from compiler options, which has been correctly noted above are also just exec-time parms passed to the compiler, and therefore not a special case of the PARM. |
|
Back to top |
|
|
Sathya.S
New User
Joined: 04 Apr 2007 Posts: 2 Location: CBE
|
|
|
|
agkshirsagar wrote: |
PARM is used to pass values to the program from JCL.
Passed parameters are received in the program in Linkage section.
Maximum of 100 charactars canbe passed through PARM.
For more information on PARM, refer 'jcl manual'. Manuals can be accessed by link provided at the top of the page. |
thank you. |
|
Back to top |
|
|
|