z/OS ISPF Software Configuration and Library Manager Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Synchronizing accounting data sets

z/OS ISPF Software Configuration and Library Manager Guide and Reference
SC19-3625-00

The SCLM FLMCNTRL and FLMALTC macros allow you to select dual accounting data sets to be maintained using the ACCT and ACCT2 parameters. If an unrecoverable problem occurs with one of the primary accounting data sets, use the following JCL to restore the primary accounting data set.

Figure 1. JCL to Restore the Primary Accounting Data Set
    //jobname  JOB (wkpkg,dpt,bin),'name'
    //***************************************************************
    //*                                                             *
    //*  JCL TO RESTORE THE PRIMARY ACCOUNTING DATA SET FROM THE    *
    //*  SECONDARY ACCOUNTING DATA SET.                             *
    //*                                                             *
    //*  SPECIFY THE UNCORRUPTED DATA SET AS YOUR INPUT DATA SET    *
    //*                                                             *
    //***************************************************************
    //STEP1    EXEC PGM=IDCAMS
    //INPUT    DD DISP=OLD,DSN=PROJ1.ACCOUNT2.FILE
    //OUTPUT   DD DISP=OLD,DSN=PROJ1.ACCOUNT.FILE
    //SYSPRINT DD SYSOUT=H
    //SYSIN    DD *
     REPRO INFILE(INPUT) OUTFILE(OUTPUT)
    /*
    //
 

You can also use this JCL to initialize a backup data set for a project that is currently running under SCLM. If problems occur with the backup data set, SCLM issues warning messages. You must restore the backup data set when problems occur.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014