MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MAxcc and RC

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
mainframemouli
Beginner


Joined: 23 Feb 2005
Posts: 87
Topics: 33

PostPosted: Tue Mar 01, 2005 8:29 am    Post subject: MAxcc and RC Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Mar 01, 2005 8:44 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Tue Mar 01, 2005 8:51 am    Post subject: Reply with quote

Mainframemouli,

Please search before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2424&highlight=maxcc

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group