Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using batch SMTP command in TSO utilities z/OS Communications Server: IP User's Guide and Commands SC27-3662-00 |
|
The batch SMTP commands are also used with the TSO transmit (XMIT) command and the IEBGENER utility in TSO/ISPF. Note: JES spool files created by TSO transmit will retain trailing
blanks. JES spool files created by IEGNEGER and other utilities will
have the trailing blanks truncated.
Use the TSO transmit (XMIT) command to spool a batch SMTP command
sequential data set to SMTP. After you create the batch SMTP command
sequential data set, use the following command to spool the data set
to SMTP:
Where:
Note: If sending a member of a partitioned data set
(PDS) using the TSO transmit command, the member must be converted
to a SEQuential file. Use the SEQ option on the TSO transmit (XMIT)
command to accomplish this as shown in the following example.
Where pds is the name of the partitioned data set and member is the name of the member to be sent to
SMTP.To code the batch SMTP commands as inline input for SYSUT1 and
SYSUT2, create the following JCL using the IEBGENER utility on the
TSO/ISPF application.
Note: The date header must contain the time
and the correct time zone. If the time zone is not present, then
the time the e-mail is received on the remote side defaults to a time
zone of GMT. See RFC 822 for the required syntax of this information.
The blocksize limit for files placed on the JES spool is 32760.
If necessary, code the DCB attributes on the SYSUT2 DD statement.
Do not place spanning record files on the JES spool for SMTP to pick
up, because SMTP does not support these files. The following shows
how to code the DCB attributes:
|
Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).
|