Status codes for load programs
If the ISRT call is successful, DL/I returns a blank status code for the program. If not, DL/I returns one of several possible status codes.
If an ISRT call is unsuccessful, DL/I returns one of the following
status codes:
- LB
- The segment you are trying to load already exists in the database.
DL/I only returns this status code for segments with key fields.
In a call-level program, you should transfer control to an error routine.
- LC
- The segment you are trying to load is out of key sequence.
- LD
- No parent exists for this segment. This status code usually means that the segment types you are loading are out of sequence.
- LE
- In an ISRT call with multiple SSAs, the segments named in the SSAs are not in their correct hierarchical sequence.
- LF
- Initial load of PHDAM or PHIDAM attempted ISRT of a logical child segment.
- V1
- You have supplied a variable-length segment whose length is invalid.