MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PARM Override To PROC Step

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
NorthernDancer
Beginner


Joined: 01 May 2007
Posts: 44
Topics: 22
Location: DOWNTOWN BUFFALO, NY

PostPosted: Mon Jun 18, 2012 12:28 pm    Post subject: PARM Override To PROC Step Reply with quote

I'm a bit puzzled how this works because the override syntax here is wrong compared to what I'm used to having to use. Here is an example of an expansion of the EXEC as 1st step of this proc:
Code:

XXABC460   EXEC PGM=ABC460,PARM='AFS',   <=== hard-coded
XX             COND=(0,LT)

Here is the example of a call for the PROC using a different PARM:
Code:

   //ABC460G  EXEC PROC=ABC460,PARM='IFA'

Somehow, and I don't know how, the 'IFA' gets to PGM ABC460.
My coding would have been:
Code:

  //ABC460G  EXEC PROC=ABC460,PARM.ABC460='IFA' 

Can anyone enlighten please ?? My only guess is that somehow z/OS now associates the 1st PARM override to the 1st EXEC step.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Mon Jun 18, 2012 12:35 pm    Post subject: Reply with quote

your attention is drawn to the last sentence of this discussion
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group