BPX4TIM (times) example

The following code gathers selected times about the invoker's CPU utilization. For the callable service, see times (BPX1TIM, BPX4TIM) — Get process and child process times. For the data structure, see BPXYTIMS — Map the response structure for times. AMODE 31 callers use BPX1TIM (times) example.
                                              
         CALL  BPX4TIM,              Process CPU times                 +
               (TIMS,                Input: Buffer            BPXYTIMS +
               RETVAL,               Return value: -1 or clock_t       +
               RETCODE,              Return code                       +
               RSNCODE),             Reason code                       +
               MF=(E,PLIST)          ----------------------------------