Return codes in User Exit Activity report
search cancel

Return codes in User Exit Activity report

book

Article ID: 258537

calendar_today

Updated On:

Products

Database Organizer for IMS for z/OS

Issue/Introduction

Executing an Unload using a USEREXIT, what do the return codes indicate in the User Exit Activity report?

For example:

FUNCTION: UNLOAD

USER EXIT ACTIVITY

SEGMENT  ------------------------------  RETURN CODE  -------------------------------
NAME            0          4          8         12         16         20      OTHER
________  _________  _________  _________  _________  _________  _________  _________
SEG101      713,606          0          0    184,275          0          0          0
SEG111    1,439,698          0          0          0          0          0          0
SEG121    1,498,391          0          0          0          0          0          0

 

Environment

Release : 20.0

Resolution

The Segment/User Exit Activity Report provides statistics for the following return codes:

0 - The user exit did not modify the segment. The segment is processed as is.
4 - The user exit modified the segment. The segment is processed in its modified form.
8 - The user exit deleted the segment.
12 - The user exit deleted the segment and all the following segments from this database record.
16 - The user exit placed the segment in the overflow area of an HDAM database and did not modify it. The segment is processed as is.
20 - The user exit placed the segment into a new block of an HIDAM database and did not modify it. The segment is processed as is.
OTHER - The user exit terminated processing.

Additional Information

Further information can be found in the  Understanding Database Organizer reports documentation.