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

about overriding proc


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

New User


Joined: 17 Jul 2007
Posts: 3
Location: hyderabad

PostPosted: Sat May 01, 2010 1:56 pm
Reply with quote

Hi,
I have a step which overrides the parameter in proc1, but in proc1 it calls another proc proc2. If both proc's have same ddname i.e dd1. my question is which ddname was overriden.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sat May 01, 2010 3:17 pm
Reply with quote

Hi,

test it out, just run the job with a TYPRUN=SCAN and look at the output and see which step and ddname is overridden.


Gerry
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Mon May 03, 2010 7:56 pm
Reply with quote

Your question is too vauge to get a specific answer (vauge questions get vague answers).

Is this 'parameter' you are refering to a symbolic parameter?
Is this symbolic used in the second proc?

If you are referring to a keyword parameter used in a DD statement, and there are no symbolic parameters in use, then your answer is PROC1.

It is not possible to override a DD statement in the second level nested proc with out the use of a symbolic parameter.

If you want a specific answer, show some real JCL.
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 Proc print in Mainframe All Other Mainframe Topics 4
No new posts AN OVERRIDE MAY NOT TARGET OVERRIDING... JCL & VSAM 1
No new posts trying to set return code in PROC JCL & VSAM 15
No new posts Execute DSNTEP2 in REXX which is call... CLIST & REXX 4
No new posts proc step return code to override in ... JCL & VSAM 3
Search our Forums:

Back to Top