CA Common Services

CA Tip:  CA Common Services - Assured Delivery (CCI LOGGER) and the REORG Parm

  • 1.  CA Tip:  CA Common Services - Assured Delivery (CCI LOGGER) and the REORG Parm

    Posted 06-26-2015 04:56 PM

    Some CA solutions require the use of Assured Delivery (CCI LOGGER).  This feature uses a VSAM file known as the CCI LOGGER database which is used to store Assured Delivery information.  To make sure that the CCI LOGGER database is reorganized whenever CCI LOGGER is started, set the REORG Parm (fourth field) in the CCI LOGGER Control Option to 'Y'.  The CCI LOGGER Control Option is located in the CAW0OPTN(CCIPARM) member.  Additional details on CCI LOGGER and the Control Option can be found in the CCS Administration Guide and the CCS Reference Guide.  The Control Option format and an example are shown below.

     

    LOGGER(string,buffer1,buffer2,Y|N)

    LOGGER(25,23,12,Y)

     

    Note that the SYSUT1 DD statement must be active in the CCILGR Proc to successfully REORG the CCI LOGGER database.  This file is used as a backup file for the CCI LOGGER database and is referenced in the Proc comments.  The CCILGR Proc from CA Common Services r14.1 is shown below.

     

    //CCILGR   PROC  CAW0LOAD='CAI.CAW0LOAD',                                   

    //         VSAM='CAI.AD.VSAM',         /* ASSURED DEL RESPOSITORY */        

    //         BACKUP='CAI.AD.BACKUP'      /* ASSURED DEL BACKUP FILE */        

    //*-------------------------------------------------------------------*     

    //*                                                                   *     

    //*                   *** C A S N M L G R ***                         *     

    //*                                                                   *     

    //*                                                                   *     

    //*  NOTES:                                                           *     

    //*   BACKUP FILE IS USED TO REORG THE VSAM FILE IF SPECIFIED ON THE  *     

    //*   LOGGER STATEMENT IN CCIPARMS OR ENFPARMS AT START-UP.           *     

    //*                                                                   *     

    //*      I.E.  LOGGER(25,23,12,Y)                                     *     

    //*                                                                   *     

    //*   THIS QSAM FILE SHOULD BE ALLOCATED 20%-25% LARGER THAN THE      *     

    //*   VSAM FILE.  FOR EXAMPLE, IF THE CLUSTER HAS BEEN ALLOCATED      *     

    //*   WITH CYLINDERS(20,10) THEN THE BACKUP FILE SHOULD BE            *     

    //*   ALLOCATED WITH SPACE=(CYL,(25,10),RLSE).                        *     

    //*                                                                   *     

    //*      FOR EXAMPLE, AS A TEMP DATASET:                              *     

    //*                                                                   *     

    //*      //SYSUT1   DD SPACE=(CYL,(25,10),RLSE),                      *     

    //*      //         UNIT=SYSDA,                                       *     

    //*      //         DSN=&&TEMP,                                       *     

    //*      //         DISP=(,PASS)                                      *     

    //*                                                                   *     

    //*                                                                   *     

    //*      AS A PRE-ALLOCATED DATASET:                                  *     

    //*                                                                   *     

    //*      //BR14     EXEC PGM=IEFBR14                                  *     

    //*      //ALLOC    DD DSN=CAI.AD.BACKUP,                             *     

    //*      //      DISP=(NEW,CATLG,DELETE),                             *     

    //*      //      DCB=(RECFM=U,BLKSIZE=32760),                         *     

    //*      //      SPACE=(CYL,(25,10),RLSE)                             *     

    //*                                                                   *     

    //*                                                                   *     

    //*  COPYRIGHT (C) 2006 CA.  ALL RIGHTS RESERVED.                     *       

    //*                                                                   *      

    //*-------------------------------------------------------------------*      

    //*                                                                          

    //CCILGR   EXEC PGM=CASNMLGR,TIME=1440,REGION=40M                            

    //*                                                                          

    //STEPLIB  DD DISP=SHR,DSN=&CAW0LOAD                                         

    //CAICCIAD DD DISP=SHR,DSN=&VSAM                                             

    //*                                                                          

    //SYSUT1   DD DISP=OLD,DSN=&BACKUP                                           

    //SYSPRINT DD SYSOUT=*                                                       

    //*                                                                          

    //*