PMDF Programmer's Reference Manual
PMDF-PRM-6.0


Previous | Contents

PMDF_start_message_body

Begin the body of a message which is being enqueued.

VMS FORMAT

status = PMDF_start_message_body (nq_context)

argument information
Argument Data type Access Mechanism
nq_context context pointer read/write reference

C FORMAT

status = PMDFstartMessageBody (nq_context)

argument information
int PMDFstartMessageBody (nq_context) 
         PMDF_nq **nq_context; 

ARGUMENTS

nq_context

A message enqueue context created with PMDF_start_message_envelope.

DESCRIPTION

After the message header has been written, PMDF_start_message_body should be called to begin the message body. If the message has no body, then PMDF_enqueue_message should be called without calling PMDF_start_message_body. After PMDF_start_message_body has been called, either PMDF_write_line or PMDF_write_text must be used to write the message body. Once the message body is complete, PMDF_enqueue_message should be used to enqueue the message.
Return Values
PMDF__OK Normal, successful completion.
PMDF__BADCONTEXT Illegal or corrupt context. Message body not started.


Previous | Next | Contents