Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us