Write a Date: header line to a message being enqueued.
argument informationstatus = PMDF_write_date (nq_context)
| Argument | Data type | Access | Mechanism |
|---|---|---|---|
| nq_context | context pointer | read/write | reference |
argument informationstatus = PMDFwriteDate (nq_context)
int PMDFwriteDate (nq_context)
PMDF_nq **nq_context;
nq_context
A message enqueue context created with PMDF_start_message_envelope.
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. |