You can use the following replacement variables anywhere in the FROM, TO, CC, BCC, SUBJECT, and FILENAME parameters and anywhere in a HTML skeleton to have appropriate unique names dynamically generated:
Print file creator's userid.
Print file destination name.
Print file name.
Print file number.
Print file print-mode.
Origin host name.
Current date in Dyymmdd format.
Current date in Julian Dyyddd format.
Current time in Thhmmss format.
Print file creator's Jobname.
Print file creator's Job, STC or TSU id.
Print file creator's job step name.
Print file creator's proc step name.
Print file creator's DD name.
Print file class.
Current time in Thhmmss format.
Include the current date in 'mm dd, yy' format. E.g. March 7, 2006.
Include the current weekday in 'aaa, dd mmm, yyyy' format. E.g. Mon, 28 Mar 2006.
Include message text specified inline or by using the OUTPUT statement ADDRESS or USERDATA parameters.
If first message line starts with a '<' the message is assumed to be in HTML format. If not, a simple line by line HTML formatting is performed.
If message starts with '<HTML>' it is assumed to be a completely formatted HTML message and no HTMLIB FORM search will be performed.
Include Web Link name and URL to the report data.
You can select to include only part of the replacement variables by specifying offset and length in brackets after the replacement variable. For example:
&UID(1,4)
specifies that only characters 2 through 5 of the file creator's userid are to be used.
If you do not specify email parameters, the file is sent by email to the file creator's mailbox by default. The default values are:
FROM=&UID@&TCPPRT TO=&UID@&TCPPRT SUBJECT=File:99999 name: ccccccc - programmer's name field FILENAME=&FNM.&PRM
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|