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

What are the rules employed while naming the steps in a job?

915


When output dataset space is required, what quantity categories are used?

1086


What is the function of //jcllib statement?

1043


Explain the purpose of dd dummy statement?

901


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

887


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

1074


Explain the function of the steplib dd statement?

841


Explain how can an in-stream dataset be terminated?

955


what operation is performed by job statement?

841


How to override loadlib?

1633


What are the 2 types of parameters in dd statement?

871


How gdg are concatenated?

855


What is Cataloged Procedures?

893


Explain about ISPF/TSO Commands

1569


What is the difference between the positional and keyword parameters? Give examples.

951