900-BUILD-PRINT-FILE-NAME

900-BUILD-PRINT-FILE-NAME builds a unique print file name and verifies that it does not already exist. The name (100 characters maximum) is returned in CRT-PRINT-FILE . This name must be created before the print file can be opened for output.

Library DATABASE
Input No input needed.
Output CRT-PRINT-FILE (always set)

Programming Example

*       Build a print file name.
        PERFORM 900-BUILD-PRINT-FILE-NAME.