CA 11 Increase space on one file only in DBID 601
search cancel

CA 11 Increase space on one file only in DBID 601

book

Article ID: 123154

calendar_today

Updated On:

Products

Datacom Datacom/AD Workload Automation Restart Option for z/OS Schedulers (CA 11)

Issue/Introduction

This article explains how to increase the space on one data set only in CA 11 DBID 601. 

The instructions in Article  54919 are for a backup and load of every file.

Environment

z/OS, CA Datacom/AD all versions 

CA 11 11.0

Resolution

To increase the size of only one file, use following JCL . This example is for the JHF file: 

  1. Suspend CA 11 on all LPARS that share the same 601 database.
  2. Set ACCESS OFF and execute a COMM CLOSE on DBID 601                                                                                                                                                                                                                                       

    //commcls EXEC PGM=DBUTLTY,REGION=4M 
    //STEPLIB DD DISP=SHR,DSN=your DATACOM.CUSLIB 
    //        DD DISP=SHR,DSN=your DATACOM.CAAXLOAD 
    //CXX DD DISP=SHR,DSN=your DATACOM.CXX data set name 
    //SYSIN DD * 
    ACCESS STATUS=OFF,DBID=601,USERS=FAIL 
    COMM OPTION=CLOSE,DBID=601 
    /* 

  3. Check the Datacom MUF to see if the base has been put in ACCESS OFF.  

    Message DB00607I - BASE 601 ACCESS OFF (BASE IS CLOSED) 

    If you do not see this message then run a DBUTLTY COMM OPTION=STATUS  to find out which tasks are holding the base open or check the message in the MUF log to see which ACTIVE JOB was mentioned when the ACCESS OFF failed. . 

  4. BASE 601 ACCESS OFF, then backup JHF601:                                                                                                                                                                                                                                                     
    //BCKUP EXEC PGM=DBUTLTY,REGION=4M 
    //STEPLIB DD DISP=SHR,DSN=your DATACOM.CUSLIB 
    //        DD DISP=SHR,DSN=your DATACOM.CAAXLOAD 
    //CXX     DD DISP=SHR,DSN=your DATACOM.CXX data set name 
    //BCKJHF  DD DSN=datacom.bckjhf.file,disp=(new,catlg), 
    //           unit=sysda,space=... 
    //SYSIN   DD * 
    BACKUP AREA=JHF,DBID=601,DDNAME=BCKJHF,SEQ=PHY,RECID=YES,UPDATE=YES 
    /*                                                                                                                                                                                            
  5. Save the existing JHF601 file by renaming it:                                                                                                                                                                                                                                                                     
    //RENAME   EXEC PGM=IDCAMS,COND=(0,NE)
    //SYSOUT   DD  SYSOUT=*
    //SYSPRINT DD  SYSOUT=*
    //SYSMDUMP DD  SYSOUT-*
    //SYSIN    DD  *
       ALTER   DATACOM.HLQ.JHF601  -  
       NEWNAME(DATACOM.HLQ.JHF601.OLD) 
    /*                                                                                                                                                                                                                                                                                             
  6. Allocate a larger JHF601 file with secondary allocation using the same data set name as before. 

    //ALLOC     EXEC PGM=IEFBR14
    //JHF601   DD  DISP=(,CATLG),DSN=DATACOM.HLQ.JHF601,
    //             SPACE=(CYL,(999,99)),UNIT=3390,VOL=SER=nnnnnn    

  7. Load the backup into that larger JHF601 data set:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
    //LOAD EXEC PGM=DBUTLTY,REGION=4M 
    //STEPLIB DD DISP=SHR,DSN=your DATACOM.CUSLIB 
    //        DD DISP=SHR,DSN=your DATACOM.CAAXLOAD 
    //CXX DD DISP=SHR,DSN=your DATACOM.CXX data set name 
    //BCKJHF DD DSN=datacom.bckjhf.file,disp=old 
    //SYSIN DD * 
    INIT AREA=JHF,DBID=601 
    LOAD AREA=JHF,DBID=601,DDNAME=BCKJHF,FORMAT=BACKUP,SORT=999999,OPTIMIZE=YES 
    ACCESS STATUS=WRITE,DBID=601 
    /*                                                                                                                                                                                              
  8. Resume CA 11
  9. Delete the JHF file saved in step 5 if all is good.                                                                                                                            

  

Additional Information

Article  54919  Increasing 601 database areas for CA Workload Automation Restart Option for z/OS Schedulers (CA 11)

Article 54792  What to do when you receive SB37 ABEND on IXX601