USS message queue SEND return codes


BMC Execution Component for z/OS (DBC) issues return code values associated with the USS message queue SEND request.

For more information, see the BPX1QSN routine in the USS Programming: Assembler Callable Services Reference.

The following table lists the possible reason codes.

USS message queue SEND return codes

Return code

Explanation

Associated reason code

EACCES

Permission to operate was denied to the calling task: JRIpcDenied.

If the message queue was built with Ipc_SndTypePID, and the MSG_TYPE was other than the invoker's process ID, the following reason code accompanies the return code:

JRTypeNotPID

EAGAIN

The message cannot be sent, and Message_Flag is set to Ipc_NOWAIT.

  • JRMsqQueueFullMessages
  • JRMsqQueueFullByte

EIDRM

The Message_Queue_ID was removed from the system while the caller was waiting.

JRIpcRemoved

EINTR

The function was interrupted by a signal, and the message was not sent.

JRIpcSignaled

EINVAL

One of the following conditions occurred:

  • The value of Message_Queue_ID is not a valid message queue identifier.
  • The value of MSG _TYPE is less than 1.
  • The value of Message_Size is less than zero or greater than the system-imposed limit.
  • JRIpcBadID
  • JRMsqBadSize
  • JRMsqBadType.

EFAULT

The Message_address parameter specified an address that caused the service to program check.

JRBadAddress

ENOMEM

Not enough system storage exits were available to send the message. The message was not sent.

JrSmNoStorage

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Messages library