How to Monitor the APPLFILE and TRAKFILE
search cancel

How to Monitor the APPLFILE and TRAKFILE

book

Article ID: 33678

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

The best practice is to schedule CYBESUT1 to monitor APPLFILE and TRAKFILE

1. For best practice you can schedule utility  job CYBESUT1 with the ANALYZE option to check output
2. Run OPER LISTAPTF command in page mode to display the applfile allocation and usage and slots
3. Run OPER LISTTRAK command in page mode to display the trakfile allocation and free slots

Example JCL CYBESUT1:

//JOBCARD
//********************************************************************* 
//* 1. RUN ANALYZE - CHECK SYSPRINT OUTPUT              * 
//* 2. RUN UPDATE - TO UPDATE AND OPTOMIZE SLOTS  * 
//*                                                                                              * 
//******************************************************************** 
//STEP1   EXEC PGM=CYBESUT1,                                  
//   PARM='SUBSYS(ESP),JOBINDEX(JBOI),TRAKFILE(JBOT) ANALYZE'   ===> Use your SUBSYS name
//SYSPRINT DD   SYSOUT=*                                      
//STEPLIB  DD DSN=hlq.CD7YLOAD,DISP=SHR    
//SYSIN DD *                                                  
//JBOI     DD DSN=hlq.JOBINDEX,DISP=SHR          
//JBOT     DD DSN=hlq.TRAKFILE,DISP=SHR          
//JBOA     DD DSN=hlq.APPLFILE,DISP=SHR          
//*                                                           
//STEP2   EXEC PGM=CYBESUT1,                                  
//   PARM='SUBSYS(ESP),JOBINDEX(JBOI),APPLFILE(JBOA) ANALYZE'    ===> Use your SUBSYS name
//SYSPRINT DD   SYSOUT=*                                      
//STEPLIB  DD DSN=hlq.CD7YLOAD,DISP=SHR    
//SYSIN DD *                                                  
//JBOI     DD DSN=hlq.JOBINDEX,DISP=SHR          
//JBOT     DD DSN=hlq.TRAKFILE,DISP=SHR          
//JBOA     DD DSN=hlq.APPLFILE,DISP=SHR        



Environment

Component: ESP WORKLOAD AUTOMATION
Release:   All Releases

Resolution

EXAMPLE LISTAPTF:

OPER LISTAPTF

FORMATTED AT 15.01.30 GMT ON TUESDAY JANUARY 6TH, 2024
3600 total slots, 288 (8%) used slots, 359 (10%) free slots
109 (3%) reserved slots, 179 (5%) unreserved used slots
2953 (82%) delayed free slots, 2602 delayed free records
Oldest slot is 450, slot size is 4096

3600 total slots, 288 (8%) used slots, 359 (10%) free slots
-  3600 total slots - How many slots in the formatted file.
-  288(8%) are in use by active applications.
-  359(10%) are free. These slots no longer have application data that can be referenced.
NOTE: More information below on free slots. (The remainder 82%)

109 (3%) reserved slots, 179 (5%) unreserved used slots
-  Applications that are built hold slot in reserved and unreserved. It is a breakdown of used/allocated slots. This information may be useful to help diagnose an issue.

2953 (82%) delayed free slots, 2584 delayed free records.

-  2953 delayed free slots(delete/delay queue) = total slots - used slots - free slots. All of these slots can be reused if needed.

The applications in delete/delay status can still be referenced. ESP will use free slots first and then start releasing the slots in the delete/delay queue.


-  Each record is an application generation. Application generations can hold more than one slot.

NOTE: The delayed free slots can still be referenced by a LAP command on a complete application.

 

EXAMPLE LISTTRAK:

OPER LISTTRAK

TRAKFILE ESP.TRAKFILE                    
FORMATTED AT 21.32.07 GMT ON FRIDAY JANUARY 18TH, 2019
9896 SLOTS TOTAL, 6517 AVAILABLE, NEXT IS 4834    

9896 TOTAL SLOTS 6517 AVAILABLE

9896 total slots - How many slots in the formatted file
6518 total slots - Available slots to use in the formatted file.