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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

809


What is the LINKAGE SECTION used in COBOL?

881


What is the difference between comp and comp-3 usage?

669


Write some characteristics of cobol as means of business language.

609


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2651






A table has two indexes defined. Which one will be used by the SEARCH?

744


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

724


What is the use of intialize verb?

735


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

402


What type of SDLC u followed? Why?

1510


how do you reference the fixed unblock file formats from cobol programs

698


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

917


Write the code implementing the perform … varying.

635


Mention the guidelines to write a structured cobol program?

601


What is perform what is varying?

693