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
 

 

Can we override the PGM parameter of JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
nitin_d

New User


Joined: 27 Oct 2005
Posts: 15
Location: Pune

PostPosted: Thu Nov 10, 2005 10:47 am    Post subject: Can we override the PGM parameter of JCL
Reply with quote

Can i give an override in jcl to overide 'pgm=' parameter in a proc?? I think this is not allowed,but just wanted to confirm.
Back to top
View user's profile Send private message

shri_shant

New User


Joined: 26 Oct 2005
Posts: 16

PostPosted: Thu Nov 10, 2005 5:04 pm    Post subject:
Reply with quote

We can't override 'pgm= ' parameter in proc. We can only override DD and EXEC parameter from procedure.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Nov 10, 2005 7:51 pm    Post subject: Re: Can we override the PGM parameter of JCL
Reply with quote

Do you mean skipping the step....when you say OVERRIDING the program ?????

Regards,

Priyesh.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Nov 11, 2005 2:11 am    Post subject: Re: Can we override the PGM parameter of JCL
Reply with quote

In the "MVS JCL Reference Manual", chapter "5.2 Modifying Procedures":

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B660/5.2?DT=20050713232151

Check the section "5.2.1.1 Modifying EXEC Statement Parameters" under the heading "Rules for Modifying EXEC Parameters". The first rule stated is:

Quote:

You cannot modify a PGM parameter.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Nov 11, 2005 4:38 am    Post subject:
Reply with quote

The closest you can get is:

In the proc code // exec pgm=&pname

When you call the proc code // exec proc1,pname=mypgm
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm


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