Is there any way to release and reallocate the HISTFILE?
Release : All Releases
Component : ESP WORKLOAD AUTOMATION
Need to allocate new larger HISTFILE
Perform the following steps from the page mode on the ESP Master:
1. Allocate a larger HISTFILE.
2. Issue command to stop tracking: OPER TRACKING NOSTORE
3. Command to display the HISTFILE: LISTHIST
4. Command to close the HISTFILE: OPER HISTFILE histid CLOSE ( Note: histid is the history file identifier of eight characters max. )
5. Issue MVS console command to delete the HISTFILE from ESP:
/F esp_stc,HISTFILE histid DELETE
then answer "Y" to the following prompt
ESP437A CONFIRM REQUEST TO DELETE HISTFILE HIST1, REPLY Y OR N
6. Run IDCAMS REPRO to copy the original HISTFILE to the new one.
7. Define and re-allocate the new HISTFILE with backup:
HISTFILE histid DEFINE DSN(ESP.NEW.HISTFILE) BACKUPDSNAME(ESP.BACKUP.
BACKUPTIME(6AM)
8. Issue command to enable tracking: OPER TRACKING STORE
Note: it's important to turn off tracking first to avoid losing job history data written to the HISTFILE.