mail-file-name

This single-valued attribute specifies the file name of the attachment to an email.

Allowed values

You can specify a name that is 1 - 60 characters. You can specify any EBCDIC text characters, including blanks. If the name contains blanks or special characters (such as @ $ & ( ) > < | ' " #), enclose the entire name in single or double quotation marks. For example:
-o "mail-file-name='February 2004 sales report'"

If the name contains double quotation marks, enclose the name in single quotation marks.

Default value

The default value in one of these:
  • IP PrintWay™, spooled by Print Interface:
    1. The sysout-dataset-name job attribute
    2. The last 8 characters of the file name

      If the first character is not a letter, #, $, or @, it is converted to a #. If one of the remaining characters is not a letter, number, #, $, or @, it is converted to a #. Lowercase letters are converted to uppercase letters.

  • IP PrintWay, spooled by NetSpool:
    1. The sysout-dataset-name job attribute
    2. The VTAM® PLU name of the application that sent the data

Usage guidelines

  • This attribute is equivalent to the MAILFILE parameter of the OUTPUT JCL statement.