What is difference between Return Code, user completion
code, Abend code and reason Code?

Answer Posted / srinivasa gudla

A RETURN_CODE shows the status of each step within a job and
the maximum RETURN_CODE is 256.

Return code - is issued by the program and can be set to any
value up to an arbitary limit (4096 I think). To know the
meaning of the return code you need to read the
documentation of the program / product / utility that is
being executed. i.e. RC16 from SORT does not mean the same
thing as RC16 from IDCAMS.

Abend / User completion code - are codes that reflect the
nature of the abend. System abends are documented by IBM,
user completion codes are the same as above for return codes.

Reason code - May or may no be used in conjunction with
abends codes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is the record format of an output dataset specified?

716


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

951


what is SOC4 error?

709


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8586


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1708






Is automatic restart possible in jcl? If yes, how?

628


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

671


Name what parameter directs the output of the job log dataset?

535


what is use of space parameter in dd statement?

720


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2021


What is the function of job statement in jcl?

615


what is the purpose of coding notify parameter in job statement?

662


which utility is used to run a cobol-db2 program?

774


Describe the various parameters utilized in the creation of a gdg?

656


Explain the job statement in jcl?

622