Glb.NumCopies is a read-writable built-in segment attribute that is set to the number of copies of the referencing report that are to be printed. It is valid only for standard reports directed to non-video devices using ROC. If it is set to zero (the default value), it indicates that there is one copy of the report.
Changes can be made to the Glb.NumCopies value until the first output from a report has been produced. After that, any attempts to set Glb.NumCopies has no effect.
Once output from a report has been produced, the Glb.NumCopies value remains until the next Release logic statement (or end-of-job), when the most recent change to its value then applies.
The NumCopies built-in outputstream attribute is used for outputstreams similarly to how Glb.NumCopies is used for reports.
Properties
Length = 3
Primitive = Number