UPS_log()

This subprocedure logs messages and errors to physical file UPSLOG.

Subprocedure Prototype

D UPS_log         PR
 
D  pUniqueID                    15P 0 Value

This value is used to retrieve configuration information.

D  pProgramName                 30A   Value

The name of the subprocedure which generated the message.

D  pSeverity                     3P 0 Value

The logging level of the message.

Valid Values:

  • UPS_SEVERE
  • UPS_WARNING
  • UPS_INFO

D  pMessage                   1024A   Value

The content of the message, to be written to the UPSLOG file.

Output Table Files

A          R RUPSLOG

Record

Logging Record

A            PID          15P 0

Key

Parent Unique ID

A            UID           15P 0

Key

Child Unique ID

A            PGMNAME       30A

Program Name

A            TMSTMP          Z

Log Timestamp

A            SEVERITY       3P 0

Message Severity

A            MESSAGE     1024A

Log Message