PMDF System Manager's Guide


Previous Contents Index

22.2.4 Input and Output Symbols

Table 22-8 lists the items which are defined by the script channel to pass information to the script command. On OpenVMS, these are defined as DCL symbols in the subprocess that runs the script command. On UNIX and NT, these are defined as environment variables.

Table 22-8 Script Channel Input Symbols
  Name Description
  ENVELOPE_FROM The envelope From: address of the message.
  ENVELOPE_TO_FILE The name of the file containing the envelope To: addresses of the message. Multiple addresses are included in the file one per line.
  INPUT_FILE The name of the file containing the original message, including both headers and body. The command should read this file.
  ORIG_ENV_TO_FILE The name of the file containing the original envelope To: addresses of the message. Multiple addresses are included in the file one per line.
  OUTPUT_FILE The name of the file where the command should store its output. The command should create this file and write to it the modified version of the message, including both headers and body.
+ OUTPUT_OPTIONS The name of the file to which the command should write options (such as status values).


+Available on UNIX and NT only

Note

The envelope From and envelope To information is read-only. The command procedure or script cannot modify them.

Table 22-9 lists the items which can be set by the script command to pass information back to the script channel. On OpenVMS, the command procedure should set them as logical names in the job logical name table, using the DCL command DEFINE/JOB. On UNIX or NT, the script the script should write them as options in the OUTPUT_OPTIONS file.

Table 22-9 Script Channel Output Symbols
  Name Description
  OUTPUT_DIAGNOSTIC Text to include in the error text returned to the message sender if a message is forcibly bounced via the PMDF__FORCERETURN completion status.
+ STATUS The PMDF completion status for the script.


+Available on UNIX and NT only


Previous Next Contents Index