Previous Topic: #SENDMSG Status CodesNext Topic: #SETIME


#SENDMSG Example

The #SENDMSG statement shown below sends the message labeled MESS01 in program storage to a group of logical terminals identified by RMT007. The length of the message is held in LEN01. The DC/UCF system transmits the message immediately if any of the logical terminals in the destination are available, and queues the message for later transmission if none of the logical terminals are available.

#SENDMSG RECORD=MESS01,RECLEN=LEN01,DESTID=RMT007,OPTNS=ALWAYS