Previous Topic

Next Topic

Book Contents

Book Index

%%FILE

This statement can be used to generate a unique number for the file that is to be decollated. Format of this statement is

DO NAME=%%FILE[(startpos,length)]

where

(3,3) extracts the last 3 digits of the 5-digit number.

In situations where multiple report outputs may be created by DD statements with the same DD name, this statement is useful to ensure that each file to be decollated has a separate entry in the Active Reports file.

Parent Topic

DO NAME: Decollating Parameter (decollating mission)