To resize the Mainview for DB2 trace log datasets (TLDS) without losing the data in the TLDS, the following process may be used:
- Identify the dataset names of the TLDS that need to be resized.
- Archive the TLDS datasets using the DZTBARC job in the hlq..BMCSAMP lib; this job will archive the TLDS to a flat file.
- Stop the BBI-PAS started task
- Load the archive data back into a NEW TLDS file using the sample JCL in member DZTBRLOD in the hlq..BMCSAMP lib. NOTE: the allocation size of the new file should be set to the desired larger size in this job.
- Rename the TLDS' identified in step 1 to a new name.
- Rename the NEW TLDS, created in step 4, to have the original name of the TLDS from step 1.
- Restart the BBI-PAS
- After selecting the TLDS from online to verify that the newly sized TLDS is working, the renamed TLDS in step 6 may be deleted along with the flat file created in step 2 as part of the cleanup for the resizing.