USER (User) keyword for display files

Use this field-level keyword to display the user profile name for the current job as a constant (output-only) field that is 10 characters long.

You can specify the location of the field, the USER keyword, and, optionally, the COLOR, DSPATR, and TEXT keywords. Positions 17 through 38 must be blank.

This keyword has no parameters.

Option indicators are not valid for this keyword, although option indicators can be used to condition the field on which it is specified.

Note: For a System/36™ environment Multiple Requester Terminal (MRT) job, the displayed user profile name is the same user profile name of the interactive job for the display station where the display file is shown.

Example

The following example shows how to specify the USER keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R RECORD1
00020A  10                              2 12'USER:'
00030A  10                              2 20USER
00040A                                      DSPATR(HI)
00050A N10                             15 18'USER:'
00060A N10                             15 26USER
00070A                                      DSPATR(HI)
     A

In this example, if indicator 10 is on, the user name is displayed on line 2 starting in column 20. If indicator 10 is off, the user name is displayed on line 15 starting in column 26.