Previous Topic: 5.2.16.3 BATREN Usage Considerations

Next Topic: 5.3 Operations Information Area Files

5.2.16.4 BATREN Retrieval Examples


The following presents a typical BATREN retrieval examples:

    By printing a list of systems that executed work under a
    multisystem enclave, you will list the CPU time
    accumulated for each remote system as well as provide a
    total of CPU time by originating the system.

          DATA;
          SET &pBATX..BATRENxx;
          PROC SORT;
           BY RENLSYID;
          PROC PRINT;
          by RENLSYID RENSYSNM;
          ID SYSID;
          VAR SYSNAME JOB RENCPDTM RENREDSU RENCPITM
          RENREISU;
         SUM RENCPITM RENCPDTM;
         RUN ;