Glb.FormID

Glb.FormID is a read-writable built-in segment attribute that is set to the name of the stationery to use for printing of report output by ROC.

Note: To include a period (.) in the Glb.FormID value, enclose the string literal using quotes. For example, to assign the form name 9.5x11, use the following logic statement:Move ("9.5x11") Glb.FormID

Glb.FormID is set to a default value of spaces. Glb.FormID is ignored when the report is directed to a video device. Trailing spaces are also ignored.

Once output from a report is produced, the Glb.FormID value remains until the next Release logic statement (or end-of-job), when the most recent change to its value is effected.

If both Glb.FormID and the Glb.Stn built-in segment attribute are set, their values are concatenated. For example, if Glb.Stn is set to "lp –d printer1" and Glb.FormID is set to "-f form2", the complete command is "lp –d printer1 –f form2". However, if Glb.FormID and Glb.Stn have the same value, they are not concatenated and the single value is used.

The FormID built-in outputstream attribute is used for outputstreams similarly to how Glb.FormID is used for reports.

For MCP-based systems, if Glb.FormID is used in Reports that do not use ROC, COBOL85 syntax errors occurs.

Properties

Length = 20

Primitive = String