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

If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?

1 Answers  


In a program, variables are used but no DB2 involved in it. Can you call it as host variables??

4 Answers   EDS,


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  






can we use full outer join with cursors declared in cobol program?

2 Answers  


What is Pic 9v99 Indicates in COBOL?

0 Answers   SwanSoft Technologies,


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


How do u write test cases?

0 Answers   IBM,


How to Pass table from a cobol program to another cobol program and how to use that table in called program

8 Answers   Patni, SunGard,


What is the Purpose of POINTER Phrase in STRING command in COBOL?

0 Answers   Winsol Solutions,


Categories