How can you override/nullify Condition code (COND) in jcl?

jcl interview questions

Moderator: Moderator Group

Post Reply
User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

How can you override/nullify Condition code (COND) in jcl?

Post by Krishna » Sun Jul 19, 2009 2:17 pm

A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

Post by Krishna » Sun Jul 19, 2009 2:17 pm

Provide the override on the EXEC stmt in the JCL as follows:

//STEP001 EXEC procname,COND.stepname=value

All parameters on an EXEC stmt in the proc such as COND, PARM have to be overridden like this.

Post Reply

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



Other References
Mainframe Tools and others