z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


msgsnd

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-msgsnd--qid-- msgvar--length--+---------------------+-------><
                                 '-nowait--+---------+-'   
                                           '-typevar-'     

Function

msgsnd sends messages to message queues.

Parameters

qid
The queue ID.
msgvar
The name of a variable that contains the message to be sent.
length
The maximum length of the message to be sent. This parameter is flagged as an error if storage cannot be obtained for a buffer of this size.
nowait
Specifies whether the caller is to wait until the message can be placed on the message queue.
0
Wait for the message to be placed on the message queue. This is the default.
1
An error is returned if the message cannot be placed on the queue immediately.
typevar
The name of a variable that contains the type of message to be sent. The type is a 4-byte binary value with a default of '00000001'x.

Example

'msgsnd (qid) msg' length(msg)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014