When a database is initially generated, a calculation is made to determine which portion of the directory will be set aside for the page map table, and which portion will be used for the allocation bitmaps. The size of the page map table determines the maximum number of DBSPACE pages, that is, the maximum logical size of the database. The size of the allocation bitmap determines the maximum number of dbextent pages, that is, the maximum physical size of the database. As the database grows in size with use, it may run short on either logical or physical space. If it is short on logical space, the ADD DBSPACE operation may fail. If it is short on physical space, the ADD DBEXTENT operation may fail. You can expand the directory to correct these situations.
You can use ARIMEXBD to increase:
Expand the directory as follows:
For information about these commands, see the Using VSE/VSAM Commands and Macros manual.
Figure 60. Sample ARIMEXBD Job
// JOB EXPAND BDISK // LIBDEF PROC,SEARCH=(PRD2.DB2710) // EXEC PROC=ARIS71PL *-- PRODUCTION LIBRARY ID PROC // EXEC PROC=ARIS71DB *-- DATABASE ID PROC // DLBL BDSKNEW,'SQL.BDSKNEW.STARTER.DB',,VSAM (1) // EXEC ARIMEXBD,SIZE=AUTO,PARM='DBPSWD=password,EXPAND=DBSPACE|ALL'(2) /* /& |
Notes for Figure 60: