Glb.Priv

Glb.Priv is a read-writable built-in segment attribute that is set to the privilege level of the transaction originator of the referencing ispec, or the output printer device of the referencing report. Its value can range from 0 through 15 (1 through 15 for an MCP-based system).

Reports have unrestricted access to the database. Glb.Priv determines the access privilege of output stored in ROC database. Users can only view report output if their privilege level is of an equal or higher value.

Specific details for each runtime host type are given in the following subsections.

In OLTP for MCP and Windows platforms, the default from the COMS configuration file.

MCP environment

The privilege level of terminals and printers is contained in the COMS Configuration file, which can be modified using the COMS Utility.

In a Report directed to a Terminal Printer, if a value in the range 1 through 15 is moved to Glb.Priv before the first PrintFrame command, then the file can only be printed on a printer of an equal or higher privilege.

If the printer privilege is zero, a user privilege value of 15 is assumed, and any Report output can to be sent to that printer.

For Reports that use the Report Output Control system (ROC), Glb.Priv can be used when output is directed to all MCP-based output devices, except EX (extract files).

For Reports that do not use ROC, Glb.Priv can only be used when output is directed to Terminal Printers. If Glb.Priv has a nonzero value, the file is forced to a printer backup file, regardless of other settings for Terminal Printer Spooler (TPS). Refer to Terminal Printer Spooler in the Agile Business Suite Runtime for ClearPath MCP Administration Guide for more information.

The external interface programs GLI, Offline, and NOF have a privilege level of 15. Refer to the Agile Business Suite Runtime for ClearPath MCP Administration Guide for more information on these programs.

Properties

Length = 2

Primitive = Number