Previous Topic: 5.2.13.3 BAT_OE Usage Considerations

Next Topic: 5.2.14 Open Edition/MVS Process Activity File(BATOEP)

5.2.13.4 BAT_OE Retrieval Examples


This section presents typical BAT_OE retrieval examples.

1.  Print all Open Edition/MVS address space executions that
    were executed under jobname OEMVSSV1.

    DATA FILE1;
    SET &pBATX..BAT_OE01;
    IF JOB='OEMVSSV1' ;
    %LET BY = JOB RDRTS ;
    %LET BREAK = RDRTS ;
    PROC SORT DATA=FILE1; BY &BY ;
    DATA FILE1;
    SET FILE1;
    %PGMSUM;
    PROC PRINT; VAR SYSID JOB RDRTS PGMEXCTM PGMOEPRC;