Previous Topic: Handling Dates in RPG IIINext Topic: Uses of the File Information Data Structure


RPG III Job Name/Operator ID

The user profile name and job name should appear on panels and reports.

Use the program status data structure, defined with an ‘S’ in column 18, to retrieve information about the operator, for example, user profile name, job name, and job number. Never ‘hard code’ the user profile name or program name as a literal.

An externally described file may define the program data structure: