z/OS MVS Programming: Workload Management Services
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Return and Reason Codes

z/OS MVS Programming: Workload Management Services
SC34-2663-00

Return and Reason Codes

When the IWMSTEND macro returns control to your program:

  • GPR 15 (and retcode, if you coded RETCODE) contains a return code.
  • When the value in GPR 15 is not zero, GPR 0 (and rsncode, if you coded RSNCODE) contains reason code.

The following table identifies the hexadecimal return and reason codes and the equate symbol associated with each reason code. IBM® support personnel may request the entire reason code, including the xxxx value.

Table 128. Return and Reason Codes for the IWMSTEND Macro
Return CodeReason CodeEquate Symbol, Meaning, and Action
0Equate Symbol: IwmRetCodeOk

Meaning: Successful completion.

Action: None required.

4Equate Symbol: IwmRetCodeWarning

Meaning: Successful completion, unusual conditions noted.

4xxxx041CEquate Symbol: IwmRsnCodeNotEnclave

Meaning: The current dispatchable work unit is not associated with an enclave.

Action: None required.

4xxxx041FEquate Symbol: IwmRsnCodeExecEnvChanged

Meaning: The execution environment has changed while the requested function is in progress.

Action: None required.

4xxxx042FEquate Symbol: IwmRsnCodeSecondaryWorkDeleted

Meaning: There were secondary work requests queued to this server task. The caller was expected to process them using IWMSSEM before calling IWMSTEND. The secondary work requests were deleted.

Action: Select all secondary work requests before issuing IWMSTEND

8Equate Symbol: IwmRetCodeInvocError

Meaning: Invalid invocation environment or parameters.

8xxxx0801Equate Symbol: IwmRsnCodeSrbMode

Meaning: The caller is in SRB mode.

Action: Avoid requesting this function while in SRB mode.

8xxxx0803Equate Symbol: IwmRsnCodeDisabled

Meaning: Caller is disabled.

Action: Avoid requesting this function while disabled.

8xxxx0804Equate Symbol: IwmRsnCodeLocked

Meaning: The caller is locked.

Action: Avoid requesting this function while locked.

8xxxx080BEquate Symbol: IwmRsnCodeBadPl

Meaning: Error accessing parameter list.

Action: Check for possible storage overlay. Also check if you call this macro in 64-bit address mode. Refer to the description of reason code xxxx089E for further information.

8xxxx0810Equate Symbol: IwmRsnCodeEutFrr

Meaning: The caller has EUT FRR established.

Action: Avoid requesting this function with an EUT FRR set.

8xxxx0823Equate Symbol: IwmRsnCodeDatoff

Meaning: The caller invoked the service while DATOFF

Action: Avoid requesting this function in this environment.

8xxxx0824Equate Symbol: IwmRsnCodeAmode24

Meaning: The caller invoked service but was in 24-bit addressing mode.

Action: Request this function only when you are in 31-bit addressing mode.

8xxxx0825Equate Symbol: IwmRsnCodeAscModeNotPrimary

Meaning: The caller invoked the service but was not DAT on Primary ASC mode.

Action: Avoid requesting this function in this environment.

8xxxx0828Equate Symbol: IwmRsnCodeBadVersion

Meaning: The Version number in the parameter list is not valid or version length field is not valid.

Action: Check for possible storage overlay of the parameter list.

8xxxx0841Equate Symbol: IwmRsnCodeXmemMode

Meaning: Caller invoked service but was in cross-memory mode.

Action: Avoid requesting this function in cross-memory mode.

8xxxx084FEquate Symbol: IwmRsnCodeWrongExecToken

Meaning: Current dispatchable work unit is not associated with the input execution unit token.

Action: Check for possible storage overlay of the execution unit token.

8xxxx0859Equate Symbol: IwmRsnCodeEnclaveSubTaskExists

Meaning: The current dispatchable work unit has residual subtasks propagated to the enclave which are still associated with the enclave.

Action: Avoid requesting this function in this environment.

8xxxx089EEquate Symbol: IwmRsnCodeServiceAModeMismatch

Meaning: The caller is in 64-bit address mode and tried to invoke a service macro that is only enabled for a 31-bit environment.

Action: Use the 64-bit enabled service macro (IWM4STEN) or change the address mode of the caller to 31-bit.

10Equate Symbol: IwmRetCodeCompError

Meaning: Component error.

Action: Contact your system programmer.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014