IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Usage of PARM parameter in EXEC step


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sathya.S

New User


Joined: 04 Apr 2007
Posts: 2
Location: CBE

PostPosted: Mon Apr 09, 2007 4:47 pm
Reply with quote

hi ,

Can any body please explain me the usage of PARM in EXEC step in JCL?
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Mon Apr 09, 2007 4:54 pm
Reply with quote

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
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Tue Apr 10, 2007 12:39 pm
Reply with quote

Hi,

To add to agkshirsagar, Parm is also used to pass compiler options.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Apr 10, 2007 5:27 pm
Reply with quote

Here's a little secret: A compiler is actually a program...The "compiler options" are actually parameters passed to a program icon_biggrin.gif

O.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Apr 10, 2007 5:35 pm
Reply with quote

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
View user's profile Send private message
Sathya.S

New User


Joined: 04 Apr 2007
Posts: 2
Location: CBE

PostPosted: Fri Apr 13, 2007 5:26 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top