Override from JCL
Moderators: Frank Yaeger, DikDude, Moderator Group
Override from JCL
Hi,
There is a proc which runs another proc, I need to override a particular
COND parameter in second proc. Please let me know how we can do this.
There is a proc which runs another proc, I need to override a particular
COND parameter in second proc. Please let me know how we can do this.
Regards,
Sheela
Sheela
Try This , sorry i missed some info in my earlier post
Thanks,
Veera
Code: Select all
//STEP001 EXEC PROCNAME,COND.STEPNAME=VALUE
COND.STEPNAME=VALUE -> This is the syntax for overriding the
COND values normally.
So COND.STEPNAME = VALUE
How we give STEPNAME is what we have to figure out since a proc is being called from another proc.
STEPNAME = PROC1.STEPNAMEA.STEPNAMEB
STEPNAMEA -> Is the step name where another proc is called
STEPNAMEB -> Is the step name of the second proc for which
you want to override the parameter.
Or some varaition of STEPNAMEA and STEPNAMEB should work.
Veera
-
- Member
- Posts: 3
- Joined: Mon Apr 02, 2007 9:11 am
- Location: Bangalore
Ajay,
Well thanks for the info ,
But if we give the statement /override
//STEP001 EXEC PROCNAME,COND.STEPNAME=VALUE
exactly at the call to PROCB from PROCA it should work i guess.
I mean where ever second proc is being called from first proc at that step.
Sheela if you tried some means and got the solution , do plz update us on it.
Thanks,
Veera
Well thanks for the info ,
But if we give the statement /override
//STEP001 EXEC PROCNAME,COND.STEPNAME=VALUE
exactly at the call to PROCB from PROCA it should work i guess.
I mean where ever second proc is being called from first proc at that step.
Sheela if you tried some means and got the solution , do plz update us on it.
Code: Select all
As per the statement :
Modifying or additional JCL statements apply to one level of nesting only. You can use statements to modify statements in a procedure only for the level of nesting at which the EXEC statement for that procedure appears.
So when we give the override after where the second proc is being called it should go fine.
Veera
Last edited by Veera on Tue Apr 10, 2007 5:38 am, edited 1 time in total.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page