Previous Topic: JCL ParametersNext Topic: Wrapping for Text, PDF, PDFL, HTML, and RTF Files


Replacement Variables

You can specify the following replacement variables anywhere in the FILENAME, USERID and PASSWORD parameters to have appropriate unique names dynamically generated:

&UID

Userid of the print file creator

&NOD

Print file destination name

&FNM

Print file name

&FNO

Print file number

&PRM

Print file print-mode

&DAY

Current date in Dyymmdd format

&JUL

Current date in Julian Dyyddd format

&TIM

Current time in Thhmmss format

&JOB

Jobname of the print file creator

&JID

Job, STC or TSU id of the print file creator

&JST

Job step name of the print file creator

&PST

Proc step name of the print file creator

&DDN

DD name of the print file creator

&CLS

Print file class.

You can specify that only part of the replacement variable be used by specifying offset and length in brackets after the variable. For example, if you enter:

&UID(1,4)

you have specified that only characters 2 through 5 of the file creator's name are to be used.

If you do not specify JCL parameters, the following default JCL parameter are used:

USERID=&UID
FILENAME=&UID.&NOD.&FNM.&FNO