What does MAXCC 3 means? It is used in one my codes.

Answers were Sorted based on User's Feedback



What does MAXCC 3 means? It is used in one my codes...

Answer / craig

Not much information there, but I'm assuming you are
looking at an IDCAMS step and see something like

IF LASTCC=8 THEN DO
SET MAXCC=3
END

This is typically used when deleting/defining a GDG or VSAM
file, in case the delete fails (because the file wasn't
there to be deleted). This allows processing to continue
after that step, as the programmer decided that manual
intervention was not required. Depending on system
settings, the job my stop processing further steps based on
a condition code set in any step in the job (MAXCC). This
value is typically 8 (any completion code 8 or greater will
stop further processing).

Is This Answer Correct ?    4 Yes 1 No

What does MAXCC 3 means? It is used in one my codes...

Answer / gopikrishna

File-Aid batch utility return RC-3 when file is empty

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More COBOL Interview Questions

How include time & date in the report generation in cobol programing?

2 Answers  


suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.

2 Answers   IBM,


what happens of we dont give time stamp in precompilation process

2 Answers  


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  






What is wrong with the following data declaration? 01 W-DATE PIC X(6). 05 DD PIC 99. 05 MM PIC 99. 05 YY PIC 99. (a) Nothing is wrong. (b) Under W-DATE all level 05 items are having a PIC 99 but level 01 has PIC X(6). (c) PIC can't be specified for a group item. (d) DD, MM, and YY are invalid datanames.

6 Answers   Mphasis, TCS,


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


why occurs clause not mentioned in 01 level

6 Answers   HCL, NIIT, TCS, Tesco,


How do u initialize an array?

2 Answers   CTS,


Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


How many divisions we have in Cobol ?

4 Answers   Wipro,


What type of Call you would use if you don;t want the control back to the calling program?

8 Answers   TCS,


Categories