How to move the checkpoint and/or spool datasets?
search cancel

How to move the checkpoint and/or spool datasets?

book

Article ID: 111068

calendar_today

Updated On:

Products

Spool

Issue/Introduction

How to move the checkpoint and/or spool datasets used by CA Spool?

Environment

Release:
Component: CSPOOL

Resolution

Here is a detailed procedure that you may follow:
1.- Stop the input interfaces so that CA Spool won't capture any more files. For example use:
F caspoolstc,HX <- halt the XFER interface 
F caspoolstc,HS <- halt the subsys interface

2 - Take a full backup of the files currently in spool using the utility ESFSPTP:
//BACKUP EXEC PGM=ESFSPTP,PARM='BFALL,SUBSYS=ESF' <modify is subsystem is not ESF
//STEPLIB DD DSN=prefix.CBQ4LOAD,DISP=SHR <modify 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=* 
//INDEX DD SYSOUT=* 
//BACKUP DD DSN=prefix.BACKUP,DISP=(NEW,CATLG), <modify 
// UNIT=SYSDA,SPACE=(CYL,(300,25),RLSE)  <-- modify space as necessary

3 - Shutdown CA Spool
4 - Allocate all the spool files according to your needs and update the SPOOLDS statements in ESFPARM if required
5 - Start CA Spool with the FORMAT option
6 - Restore the files from the backup taken in step 2 of this procedure:

//RESTORE EXEC PGM=ESFSPTP,PARM='LFALL,SUBSYS=ESF' <modify is subsystem is not ESF
//STEPLIB DD DSN=prefix.CBQ4LOAD,DISP=SHR <modify 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=* 
//INDEX DD SYSOUT=* 
//LOAD DD DSN=prefix.BACKUP,DISP=SHR <modify

Additional Information

Link to the ESFSPTP utlity reference:

https://docops.ca.com/ca-spool/12-0/en/operations-and-commands/backup-restore-utility-esfsptp