IEWLCNVT reason codes

IEWLCNVT reason codes have the following format:

Offset Length Meaning
00 (X'00') 1 byte SMS component code — (X'26') indicates loader (of which IEWLCNVT is a part).
01 (X'01') 1 byte Module ID— used for problem diagnosis.
02 (X'02') 2 bytes Reason code that identifies the error. A program testing the IEWLCNVT reason code should only look at this last two bytes. The component id and module id should not be tested. They are reported for diagnostic purposes only.

The following are the two low order byte values for the reason codes which IEWLCNVT may return (sorted by return code).

Return Code Reason Code Meaning
00 (X'00')   Successful.
  00 (X'00') Successful (actually 4 bytes of zeros are set).
16 (X'10')   Caller error.
  50 (X'32') The level field of the PMAR specified an unsupported level. This is set for PMAR_TO_PDSDE function.
  24 (X'18') The input PDSDE does not appear to be that of a load module. This is set for the PDSDE_TO_PMAR function. The problem is one of the following:
  • The PDS2INDC byte indicated a length less than the minimum for a load module‘s directory entry user data field. This minimum length is 22 bytes.
    Note: PDS2INDC records the user data length in number of half-words in bits 3 through 7. The minimum number of half-words is 11.
  • Too many or too few note list TTRs indicated in PDS2INDC. A load module will only have either 1 or 2 note list TTRs. PDS2INDC records the number of note list TTRs in bits 1 and 2.
  26 (X'1A') The input PDSDE is for a program object. Complete conversion will not be performed.