MAXCC 2976



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Re: MAXCC 2976

Postby dick scherrer » Thu Oct 18, 2012 11:18 pm

Hello,

You need to post the info from the spool that shows this maxcc. Post the previous and next 10 lines and if more is needed, we'll ask for more.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: MAXCC 2976

Postby NicC » Fri Oct 19, 2012 2:43 am

Is it a return code ofo 976 or an abend code of 2976? The only place I know of that uses the term MAXCC is IDCAMS and people who don't know different. Also, on the mainframe nothing is 'thrown' - things are issued or displayed or printed but NEVER thrown.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: MAXCC 2976

Postby ankushgattani » Fri Oct 19, 2012 5:24 pm

Hi Billy, i followed your suggestion, after a lot of binary chopping, i found out that the RC is issued by a procedure division copybook.
i tried to see where exactly in the PD copybook, the RC is being changed, but a strange thing happened.
All the display statements now print "Return-code = 0000", while in spool JESYSMSG, i am getting COND CODE = 1328

PS0100 JS0200 - STEP WAS EXECUTED - COND CODE 1328


Also , in the below report in JESYSMSG, i am getting COND CODE = 0000.
----------------------------------------------
                        CONDITION      STEP   
 JOBSTEP     PROCSTEP      CODE      RUN TIME
                                             
 JS0200      PS0100       R0000    00:00:01.73


Note: Previously this report COND CODE was having some value, which was issued by the program (i kept a display just before GOBACK to check the final RC issued), but this was different than the value MAXCC or statement(PS0100 JS0200 - STEP WAS EXECUTED - COND CODE xxxx) had.

Nicc,
see the snapshot, this is where i get the COND-CODE of the step (and the job in this case)

Dick,
The First snapshot that i've given, it shows me the COND-CODE.You wanted +/- 10 lines of this line, correct.
In this case, those lines don't have much.
All the lines between STEP JS0100 and the Report-table for JS0200 are only SMS dataset allocations. I didnt see any abnormal statement there.
ankushgattani
 
Posts: 30
Joined: Wed Aug 29, 2012 12:20 pm
Has thanked: 3 times
Been thanked: 0 time

Re: MAXCC 2976

Postby BillyBoyo » Fri Oct 19, 2012 8:30 pm

Is the copybook small enough to post here?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: MAXCC 2976

Postby dick scherrer » Fri Oct 19, 2012 9:33 pm

Hello,

This topic switches back aof forth between some Retudn Code and MAXCC as though they are the same. They are Not the same. Have we now decided that we are looking at the RC rather than MAXCC?
All the display statements now print "Return-code = 0000", while in spool JESYSMSG, i am getting COND CODE = 1328

There is "something" not displayed where the RC is being set (or it is somehow leftover).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: MAXCC 2976

Postby ankushgattani » Sun Oct 21, 2012 7:52 pm

Billy,

Sorry, Copybook is a Big-one(~1000 lines).

Dick,
My JobStep executes a program and gives COND-CODE 1328 in JESYSMSG, should we not look into RETURN-CODE set by the program.
If not, then where exactly should i look?
ankushgattani
 
Posts: 30
Joined: Wed Aug 29, 2012 12:20 pm
Has thanked: 3 times
Been thanked: 0 time

Re: MAXCC 2976

Postby dick scherrer » Sun Oct 21, 2012 9:28 pm

Hello,

Please re-read my last reply. The topic mentions MAXCC but all we see lately is the COND-CODE. Should we forget about MAXCC now?

Looking for setting RETURN-CODE is a good start. Make sure every called module is checked as well.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: MAXCC 2976

Postby ankushgattani » Sun Oct 21, 2012 9:37 pm

Actually there are only two steps in the job, first step gives RC=0, so whatever is the RC of second step, is the MAXXCC displayed by the job.
So can i say that in this case COND-CODE and MAXXCC are same.
ankushgattani
 
Posts: 30
Joined: Wed Aug 29, 2012 12:20 pm
Has thanked: 3 times
Been thanked: 0 time

Re: MAXCC 2976

Postby NicC » Sun Oct 21, 2012 9:41 pm

i say that in this case COND-CODE and MAXXCC are same.

only if the second program is IDCAMS because it is the only program I know of that uses the term MAXCC. Ususlly when refering to condition codes displayed in your job output the highest return/condition code is referred to as just that - the highest.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: MAXCC 2976

Postby dick scherrer » Mon Oct 22, 2012 5:50 am

Hello,

So can i say that in this case COND-CODE and MAXXCC are same.

Please post the jcl and the 3rd sysout of this run (using the code tag), so we can see what you see.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Previous

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post