Previous Topic: 6.4 Selective Identification of Batch Job AbendsNext Topic: 6.6 Analysis of Job Abends Incurred by Department


6.5 Tracing All Occurrences of a System Abend


PROBLEM:

    I/O errors have been reported and the department needs a
    list of all jobs that abended with a system abend code of
    001.


DATABASE FILES TO BE ACCESSED:

    &PBATX..BATPGM01
        Yesterday's Batch User Program Activity File


SUGGESTED SAS FACILITIES TO BE USED FOR REPORTING:

    PROC PRINT may be used to list the required data.


SAS CODE EXAMPLE:

***********************************************************;
* SYSTEM TROUBLE SHOOTING EXAMPLE                         *;
***********************************************************;
 DATA;
 SET &PBATX..BATPGM01;
 IF TERMCODE=' 001';
 PROC PRINT; VAR JOB PROGRAM STARTTS ENDTS;
 TITLE "LIST OF I/O ERROR ABENDS FOR ALL JOBS YESTERDAY"
 ;


GENERATED OUTPUT REPORT:

    Figure 6-2 illustrates the output reports produced by the
    SAS code illustrated above.

                                      LIST OF I/O ERROR ABENDS FOR ALL JOBS YESTERDAY       16:18 THURSDAY, APRIL, 20 yyyy                                OBS    JOB         PROGRAM                 STARTTS                  ENDTS                                  1    CPM004CN    CPMACONT    17APR09:16:42:35.20    17APR09:16:43:00.39                                2    RXY002B     EASYTREV    17APR09:21:21:47.27    17APR09:21:22:28.73                                3    RXY002D     EASYTREV    17APR09:23:18:23.37    17APR09:23:18:49.75                                4    XIM428H1    SSINCA      17APR09:09:58:58.01    17APR09:09:59:03.59                                5    PUC001Q     EASYTREV    17APR09:11:02:47.74    17APR09:11:09:04.63                                6    OPS027T     PRODSREP    17APR09:23:48:00.31    17APR09:23:48:02.17                                7    RSG00349    RUSACTNG    17APR09:02:26:50.93    17APR09:02:31:19.30                                8    RSG00346    RUSACTNG    17APR09:02:27:31.49    17APR09:02:31:19.48                                9    RSG00351    RUSACTNG    17APR09:02:28:11.82    17APR09:02:31:19.68                               10    RSG00347    RUSACTNG    17APR09:02:26:32.36    17APR09:02:31:21.12                               11    RSG00350    RUSACTNG    17APR09:02:26:59.55    17APR09:02:31:21.38                               12    RSG00345    RUSACTNG    17APR09:02:26:16.00    17APR09:02:31:22.10                               13    RSG00343    RUSACTNG    17APR09:02:25:54.16    17APR09:02:31:22.13                               14    RSG00340    RUSACTNG    17APR09:02:25:05.50    17APR09:02:31:22.89                               15    RSG00348    RUSACTNG    17APR09:02:26:39.38    17APR09:02:31:23.64                               16    RSG00342    RUSACTNG    17APR09:02:25:38.43    17APR09:02:31:25.68                               17    RSG00341    RUSACTNG    17APR09:02:25:23.81    17APR09:02:31:25.71                               18    RSG00344    RUSACTNG    17APR09:02:26:05.00    17APR09:02:31:25.75                               19    XIM00140    OPSLABEL    17APR09:17:34:36.56    17APR09:17:34:49.83                               20    PCB001R     IERRCO00    17APR09:10:15:25.47    17APR09:10:16:21.78                               21    PCB001S     IERRCO00    17APR09:10:30:25.62    17APR09:10:31:10.98                               22    PCB002P     SORT        17APR09:16:58:21.06    17APR09:16:58:26.62    

Figure 6-2.  List of I/O Error (001) Abends