CCF VSAM SYSMAST out of space.

Document ID : KB000055648
Last Modified Date : 14/02/2018
Show Technical Document Details

Situation:

Logging out a member in CCF, user gets "CCF INTERNAL ERROR". User browses the USERID.USERID.CCF.MSGS dataset for further details on the error. Error message dataset contains "SYSMAST FILE IS OUT OF SPACE".

Resolution:

  1. Define a new VSAM SYSMAST file
    (substitute the appropriate values where needed):
    //IDCAMS1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=*//SYSIN DD *DEFINE CLUSTER( -NAME(new.vsam.bkup) -VOL(vols01 vols02) -CONTROLINTERVALSIZE(nnnn) -RECORDSIZE(xxxx xxxx) -REUSE -NUMBERED -SHAREOPTION(4 4) -CYLINDERS(z z) -)/*

  2. Run BKUPDISK to copy the original to the new VSAM SYSMAST file:
    //MASTER DD DSN=original.vsam,DISP=SHR//OSJOB DD DUMMY//BACKUP DD DSN=new.vsam.bkup,DISP=SHR//SYSPRINT DD SYSOUT=*//INDEX DD SYSOUT =*//LIST DD SYSOUT=*//SYSIN DD *-OPT BKUPDISK,COMPRESS=FULL,BLOCKS=yyyyy /*

  3. After verifying that the new.vsam.bkup contains all members from the original.vsam master, run an Idcams delete to delete the original vsam sysmast file:
    //IDCAMS1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=*//LIBDD1 DD DISP=SHR,DSN=original.vsam//SYSIN DD *DELETE original.vsam//

  4. If you want the new.vsam.bkup file to have the original name, do the following (e-g):

    1. Define a new VSAM SYSMAST file
      (substitute the appropriate values where needed):
      //IDCAMS1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=*//SYSIN DD *DEFINE CLUSTER( -NAME(original.vsam) -VOL(vols01 vols02) -CONTROLINTERVALSIZE(nnnn) -RECORDSIZE(xxxx xxxx) -REUSE -NUMBERED -SHAREOPTION(4 4) -CYLINDERS(z z) -)/*

    2. Run BKUPDISK to copy the enlarged temporary VSAM master to the new VSAM master with the permanent name file:
      //MASTER DD DSN=new.vsam.bkup,DISP=SHR//OSJOB DD DUMMY//BACKUP DD DSN=original.vsam,DISP=SHR//SYSPRINT DD SYSOUT=*//INDEX DD SYSOUT =*//LIST DD SYSOUT=*//SYSIN DD *-OPT BKUPDISK,COMPRESS=FULL,BLOCKS=yyyyy /*

    3. After verifying that the larger original.vsam contains all members, run an Idcams delete to delete the temporary master file:
      //IDCAMS1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=*//LIBDD1 DD DISP=SHR,DSN=new.vsam.bkup//SYSIN DD *DELETE new.vsam.bkup//