Controlling TPS User Access to Report Output

When the NGEN28TP/USERS file is present, you may restrict the visibility of Report output to a particular user name by moving a value into GLB.USER in your Report logic, before the first PRINT.FRAME; logic command in the Report, or before the first PRINT.FRAME; logic command after a RELEASE; logic command. You can prompt for the user name by using an ACCEPT; logic command (as shown in Example 2).

Example 1

MOVE; (FINANCE) GLB.USER
PRINT.FRAME; 20

Example 2

MESSAEG; (Enter TPS USER Name)
ACCEPT; TPUSERNAME LE; 10
MOVE; TPUSERNAME GLB.USER

Note: This is different from the use of GLB.USER for ROC Report output