In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3
6 posts • Page 1 of 1
This is just plain wrong in the context of this question. However, the way original question has been posted, that invites a lot of such answers.sasanka wrote:deepu wrote:In my case i got maxcc = 1, it's moved in the program to RC when the bypass record count is 0....so it's a RC that was set explicitly in the program.....which is a valid one.....
maxcc=1 occurs when u run a empty dataset
You need to do a better job in explaining your question. Every Job will have some MAXCC for it after execution - but why that MAXCC has come, depends on what was executing/executed in the Job. For instance, if you execute SuperC compare in batch and there is some mis-match between the two files you compared - you get a MAXCC=1 but then if your job executes some other program, MAXCC=1 would mean something else... as deepu has said - it might be because a COBOL program excuted and in the program "1" was explicitly moved to the special register RETURN-CODE.immanuel wrote:can any one tel when maxcc=1 occur?
So, in a nut-shell - explain your problem again and answer the questions Mike has asked for.
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.
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program
- FILEAID Reference
Explains how to browse , edit and delete datasets
- Change Man Reference
Quick Start tutorial on Changeman
- Abend Reference
Important Abend codes explained
- FaceBook Page
MainframeGurukul FaceBook Page
- LinkedIn Page
MainframeGurkul Linkedin Page