Glb.Title is a read-writable built-in segment attribute that is set to the name used for report output. If Glb.Title is set, it overrides the default name of the referencing report.
Once report output has been produced, the Glb.Title value remains until the next Release logic statement or end-of-job, when the most recent change to its value applies.
Refer to Glb.FormID for more information.
Further specific details for each host type are given in the following subsections.
For an MCP-based system
The default for the primary Report is PRINT. The default for Shadow Reports is PRINTx, where x is the Shadow Report designator (A through Z).
MCP-based Non-ROC and ROC Direct Reports
The :BDD System (colon) command can also be used to affect names used for Report output directed to Line Printers, or Remote Printers. (Also applies to Attribute BDNAME.)
If a :BDD command is used with a Glb.Title value, the name of the backup disk file will be:
bdd /count mix /count title
Here bdd is the name set by the :BDD System command, mix is the mix number, and title is the value of Glb.Title. The slash (/) character is a node delimiter, and cannot be used as a file name character when using Glb.Title.
Notes:
If the Report is a ROC Direct Report and the value of Glb.FileInfo is Y, then the value of Glb.Title is ignored.
Using Glb.Title with the USERBACKUPNAME attribute in conjunction with CriticalPoint or Release commands can give unpredictable results. Refer to the Agile Business Suite Runtime for ClearPath MCP Administration Guide for more information.
In ROC Direct Reports, Glb.Title is also used (as title) in the NOTE attribute of created printer backup files, in the form:
system /report (mix ):title
MCP-based ROC Standard Reports
In standard ROC systems, Glb.Title is used as follows:
In ROC Report and Output Request menus of files available
In the NOTE attribute of created printer backup files, in the form (where title is the value of Glb.Title):
system /report (mix ):title
In the REQUESTNAME attribute of the PRINTS/REPRINTS menus of print files, in the form (where title is the value of Glb.Title):
system /report (mix ):title
In the printer backup file title, in the following form, where word is the first word of Glb.Title, and value is a three digit number:
*BD/number /valueword
If Glb.Device has a value of EX and the value of Slb.Stn is an asterisk (*), the name to be used for the extracted file is the value of Glb.Title. This can be overridden on the ROC Write screen, by entering a value in the Filename field.
Note: ROC uses the first word in Glb.Title as part of the print file name. Ensure that this word is in uppercase and that it only contains valid file name characters.
Windows Operating Systems
Glb.Title is set to the name of the print file for direct reports. By default, the Glb.Title value is "P <name> <pid>.<release>", where <name> is the outputstream name, <pid> is the process ID of the report, and <release> is the number incremented for each release. By default, the Glb.Title value is "P <pid>.1. By default, the location is %TMPDIR%.
If the full pathname is not specified, the file is created in the system directory.
The Title built-in outputstream attribute is used for outputstreams similarly to how Glb.Title is used for reports.
In Windows operating system if GLB.TITLE is not defined or is blank, the default file name will be in the format:
<database>_<system>_<report>_<sessionId>_P<shadow><pid>.<release no>
For example, SAMPLEDB_SAMPLE_SREPBYDI_00000030_PA010220.1
Note: In Windows operating system ROC uses the content in Glb.Title as part of the file path. Ensure that the content in GLB.Title is in uppercase and that it only contains valid file name characters.
Properties
Length = 60
Primitive = String