Previous Topic: JCL ParametersNext Topic: Text PDF/PDFL/HTML/RTF Wrapping


Replacement Variables

You can specify the following replacement variables anywhere in the FILENAME parameter to have appropriate unique names dynamically generated:

&UID

Print file creator's userid

&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

Print file creator's Jobname.

&JID

Print file creator's Job, STC or TSU id.

&JST

Print file creator's job step name.

&PST

Print file creator's proc step name.

&DDN

Print file creator's DD name.

&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.