Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Usage of PARM parameter in EXEC step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Usage of PARM parameter in EXEC step
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: 686
Location: Earth

PostPosted: Mon Apr 09, 2007 4:54 pm    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Apr 10, 2007 5:27 pm    Post subject:
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

Active Member


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

PostPosted: Tue Apr 10, 2007 5:35 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us