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

Under which scenario you would go for a static call as opposed to dynamic call?

5 Answers   TCS,


If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.

2 Answers  


Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.

6 Answers   EDS,


Can anybody give me example of subscript and index

5 Answers  


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  






input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

0 Answers  


How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


Can anyone please give the example of Inline Perform.

6 Answers   TCS,


in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

0 Answers  


a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  


how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

4 Answers   TCS,


Categories