ExtWrtName statement

Use the ExtWrtName statement to specify the external writer name used by Communications Server SMTP (CSSMTP) as selection criteria when CSSMTP is interfacing with the JES2 or JES3 subsystems.

Syntax

Read syntax diagramSkip visual syntax diagramExtWrtName  wrtName

Parameters

wrtName
A string 1 - 8 characters in length that specifies the external writer name to be used by CSSMTP. This value can contain alphanumeric characters, as well as the special characters $ # @. The default value is the CSSMTP job name. The writer name is not case sensitive.
Results:
  • If an ExtWrtName value is not configured, CSSMTP sets this parameter value to CSSMTP job name.
  • If an update to the ExtWrtName statement is detected during a dynamic refresh, CSSMTP continues to run using the previous ExtWrtName value and a warning message is written to the log and console.

Tip: The SMTPD job name should not be specified for CSSMTP external writer name if the SMTPD gateway is running on the same LPAR. The results are unpredictable.

Restrictions:
  • Do not code INTRDR, STDWTR, or NJERDR because these names are reserved for JES.
  • If the JES2 DESTDEF statement specifies NODENAME=REQUIRED, then the writer name specified in the ExtWrtName statement must be defined to JES2. You can dynamically define it to JES using the following command:
    $ADD DESTID(xxxxxxxx),DEST=xxxxxxxx
    where xxxxxxxx is the wtrName specified in the ExtWrtName statement. See z/OS JES2 Initialization and Tuning Reference for information about the DESTDEF statement. To permanently add the destination use the JES initialization DEStid statement:
    DESTID(xxxxxxxx) DEST=xxxxxxxxx
    See z/OS JES2 Initialization and Tuning Reference for information about the DESTID JES2 statement. If JES2 DESTDEF specifies NODENAME=OPTIONAL then the writer name specified on ExtWtrName does not need to be specified.
  • You cannot start multiple CSSMTP applications that use the same external writer name.