U@BLDPRTFILENM

U@BLDPRTFILENM builds a unique print file name and verifies that it does not already exist. The name (100 characters maximum) is returned in E@PRINTFILE. This name must be created before the print file can be opened for output.

Module DATABASE
Input No input needed.
Output E@PRINTFILE (always set)

Programming Example

*       Build a print file name.
  CLEAR                   E@PRINTFILE 
  CALLP     U@BLDPRTFILENM               Build Print File Nam
  EVAL      PAC902C#FILENA = E@PRINTFILE