The interim SAS work files created in phases 1 and 2 are merged; this brings together all of the job and TSO session related information. The files for the Batch Information Area are created in the CA MICS data base DETAIL or DAYS timespans (whichever is the lowest level timespan for the file) as the output from this phase. These files are also sorted and summarized to represent the specified data ordering for the timespans. The following user exits are invoked in this phase: Product Output Exits -------------------- USRSATP - APPC/MVS Transaction File Exit USRSAVL - Systems Availability File Exit USRSCON - Operations Configuration File Exit USRSJOB - Output Job File Exit USRSMUA - Measured Usage Address Space File Exit USRSMUG - Output Measured Usage Global File Exit USRSOPI - Operations Incident File Exit USRSPGM - Output Program File Exit USRSREN - Output Multisystem Enclave File Exit USRSSPL - Output Spool File Exit USRSWDA - Batch WDA File Exit USRUJBJ - Accounting Job File Exit USRUJBM - Accounting Measured Usage Charging File Exit USRUJBP - Accounting Program File Exit USRUJBS - Accounting Spool File Exit USRUJTP - Accounting APPC/MVS Transaction Exit Product Parameter-Related Exits ------------------------------- ACCTRTE - Batch Job Account Code Assignment Exit APPCAURT- APPC Application Unit Definition APPCRTE - APPC/MVS Account Code Assignment Exit JOBGPRTE- Batch JOBGROUP Assignment Exit PRINTDEF- Print Output Definition Exit TURNRTE - Batch Job Turnaround Time Calculation Exit Product Special Exits --------------------- OCCACT1 - Override Occupancy Calculations USRSINT - Initiation of Job Merge WPECALC - Calculate Pseudo Elapsed Time Figure 9-4 illustrates Phase 3, the Batch Information Area Processing Phase.
*-------------------------------------------------------* ..A.. | Merge Work.SMFPURG, SMFT25, SMFWRT, SMFJOB, SMFSTEP, | | SMFINIT, ACCTHOLD, SMFMUA, and the DETAIL.BAT_JS01 | | files by reader time stamp (RDRTS) and job name (JOB) | *-------------------------------------------------------* ..B.. | ..G.. +---------------------------------------+--------------------------------------------------------+ For First Set of For Subsequent For Last Set of Records for a Job Records Records of a Job | ..C.. ..D.. ..E.. ..F.. | +-----------+ +-----------+ +-----------+ +-----------+ +----------------+ +-----------+ |Set all | |If SMFSTEP | |If SMFWRT | |If SMFMUA | |If not last | |If JOBFLUSH| | Job Flds | | Present | | Present | | Present | |record for job, | | or only | | To Zero or| +-----------+ +-----------+ +-----------+ |return to ..A.. | | SMFWRT | | Missing | +-----------+ +-----------+ +-----------+ | - otherwise - | | or only | +-----------+ |Common Flds| |Add spool | |Common Flds| |proceed to ..G..| | SMFT25... | |If only | +-----------+ | Totals to | +-----------+ +----------------+ | Return | | SMFPURG...| ************* | Job Totals| ************* +-----------+ | Output | * _WPECALC * +-----------+ * _USRSMUA * |Delete 6/26| | Detail. | ************* |Common Flds| ************* | Combina- | | BATSFP00 | +-----------+ +-----------+ * _USRUMUA * | tions | | Return | |Compute | ************* ************* |see note 2 | +-----------+ | Occupancy | * PRINTDEF * * _USRUJBM * +-----------+ |Determine | | Times | ************* ************* |Calculate | | Whether to| +-----------+ +-----------+ +-----------+ | Job Flds | | Suspend | ************* |Accumulate | |Output | +-----------+ | see note 1| * _OCCACT1 * | JOBNLRx | | Detail. | |Common Flds| +-----------+ ************* | Totals | | BATMUA00 | +-----------+ ************* ************* +-----------+ +-----------+ ************* * ACCTRTE * * _USRSPGM * ************* Proceed to ..F.. * JOBGPRTE * ************* ************* * _USRSSPL * ************* ************* * _USRUPGM * ************* +-----------+ * _USRSINT * ************* * _USRUSPL * |Determine | ************* * _USRUJBP * ************* | Turnaround| | ************* * _USRUJBS * | Times | Proceed to +-----------+ ************* +-----------+ Point ..C.. |Add Step | +-----------+ ************* | Totals to | |Add Spool | * TURNRTE * | Job Totals| | Totals to | ************* +-----------+ | Job Totals| ************* |Output | +-----------+ * _USRSJOB * | Detail. | |Output | ************* | BATPGM or | | Detail. | * _USRUJOB * | BAT_TS or | | BATSPL00 | ************* | BAT_ST or | +-----------+ * _USRUJBJ * | BAT_TP | ************* +-----------+ +-----------+ |Output | | Detail. | | BAT_JS01 | |or BATJOB00| +-----------+
Figure 9-4. Phase 3 - Batch Information Area Processing Phase
|
Copyright © 2014 CA.
All rights reserved.
|
|