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
 

 

about overriding proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: about overriding proc
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: 1703
Location: Australia

PostPosted: Sat May 01, 2010 3:17 pm    Post subject:
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: 646
Location: Pennsylvania

PostPosted: Mon May 03, 2010 7:56 pm    Post subject:
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    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 New PROC not reflecting in prod even ... Musab Ahmed CA Products 9 Tue Mar 15, 2016 12:45 pm
No new posts PROC to JCL mapping jena_samirkumar JCL & VSAM 13 Tue Dec 08, 2015 12:37 pm
No new posts JCL overriding concept s.saranya srinivasan JCL & VSAM 14 Wed Oct 07, 2015 4:07 pm
No new posts JCL/job to PROC -- Symbolic to be use... Elixir JCL & VSAM 2 Thu Aug 20, 2015 2:56 am
No new posts Calling Stored Proc with out holding ... rexx77 DB2 6 Mon Nov 03, 2014 7:20 pm


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