View previous topic :: View next topic |
Author |
Message |
mainframemouli Beginner
Joined: 23 Feb 2005 Posts: 87 Topics: 33
|
Posted: Tue Mar 01, 2005 8:29 am Post subject: MAxcc and RC |
|
|
This Question may be sounds simple , but i am not getting answer for this.
What is Difference Between MAXCC and RC in the JCL.??? |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Mar 01, 2005 8:44 am Post subject: |
|
|
The value returned from a program (it's Return-Code) can be checked with condition processing in JCL so an appropriate course of action can be taken. This is done by checking the Return-Code (RC) value with either IF/THEN/ELSE/ENDIF statements, or COND= statements. For example:
Code: |
//STEP0010 EXEC PGM=MYPROG
//SYSPRINT DD SYSOUT=*
//*
// IF (STEP0010.RC = 4) THEN
//STEP001A EXEC PGM=IEFBR14
// ELSE
//STEP001B EXEC PGM=MYPROG2
// ENDIF
//*
|
The term MAXCC has no meaning or relevance within JCL, so I cannot answer that part of your question. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|