PMDF Programmer's Reference Manual
PMDF-PRM-6.0


Previous | Contents

PMDF_write_date

Write a Date: header line to a message being enqueued.

VMS FORMAT

status = PMDF_write_date (nq_context)

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

C FORMAT

status = PMDFwriteDate (nq_context)

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

ARGUMENTS

nq_context

A message enqueue context created with PMDF_start_message_envelope.

DESCRIPTION

PMDF_write_date will output a Date: header line to a message header. The current system date and time will be used in constructing this header line. PMDF_write_date should be called after PMDF_start_message_header and prior to calling PMDF_start_message_body. If it is called after PMDF_start_message_body, then it's output will become part of the message body.
Return Values
PMDF__OK Normal, successful completion.
PMDF__BADCONTEXT Illegal or corrupt context. Date: header line not written.


Previous | Next | Contents