Use the PRINT subcommand to turn off the printing of a selected diagram or to override the report definition file setting for the destination of the report output.
Syntax
SETTING { PRINT [ YES | NO ] }
Use the PRINT NO statement is to produce a report based on a particular diagram without printing the diagram. The report specification would include the statement:
WHERE Current = T
to specify the currently displayed diagram. By specifying a diagram using the DIAGRAM command in the Doc Facility, the diagram is made “current” until the next command is issued which changes the diagram being displayed. By specifying PRINT NO the diagram remains “current” but is not printed.
The default is PRINT YES.
Example
The following example loads the “Library Database” diagram, without printing it, and then prints a series of reports using the loaded diagram as the current diagram. It is assumed that the report1 and report2 report specifications include the statement WHERE Current = T.