About MAXCC codes



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

About MAXCC codes

Postby Arun A » Thu Jan 28, 2010 7:47 pm

hi all

iam a fresher to mainframe.

may i know the difference for, macc=0 , 4 , 8, 12 ,16, 20
Arun A
 
Posts: 6
Joined: Wed Jan 27, 2010 9:17 pm
Has thanked: 0 time
Been thanked: 0 time

Re: about macc

Postby Robert Sample » Thu Jan 28, 2010 8:19 pm

I'm not familiar with the term "macc" -- are you referring to the step condition code set when a JCL step completes, an IDCAMS maxcc field which can be set for each IDCAMS command executed, or something else entirely?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: About MAXCC codes

Postby Bill Dennis » Fri Jan 29, 2010 9:13 pm

Condition Codes (sometimes called Return Codes) are simply a method to let the caller know how the program ended. The program itself sets the COND CODE prior to ending.

The degree of severity for certain errors conditions are typically related to the rising COND CODE.
0 = OK
4 = Informational
8 = Warning
12 = Error
16 = Severe error

Using a value that is a mutiple of 4 makes a handy "offset" into an array of BRANCH instructions, each of which use 4 bytes of machine code.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post