In CA IDMS releases before Release 18.5, the MPG feature does not support referential sets that cross page group boundaries. However, you can now convert a chain set to a user-owned index set so you can use it with the MPGI feature enhancement. The MPGI feature enhancement allows you to have index sets that cross page group boundaries, opening up additional space for database growth.
When expanding the employee demo database as outlined in this document, you must convert the EMP-COVERAGE set from a chain set to a user-owned index set.
Follow these steps:
SET NAME IS EMP-COVERAGE
ORDER IS FIRST
MODE IS CHAIN
becomes
SET NAME IS EMP-COVERAGE
ORDER IS FIRST
MODE IS INDEX BLOCK CONTAINS 40 KEYS
Note: For more information about compiling a schema, see the chapters 9 & 10 in the CA IDMS Database Administration Guide.
Note: For more information about compiling a subschema, see the chapters 9 & 10 in the CA IDMS Database Administration Guide.
//RELDCTL DD DSN=user.reldctl,DISP=(NEW,CATLG),UNIT=nnnn,
// VOL=SER=nnnnnn,
//SYS002 DD DSN= user.dbl002,DISP=(NEW,CATLG),
// UNIT= tape002,SPACE=(TRK,1)
//SYSPCH DD DSN=&&sort,DISP=(NEW,PASS),UNIT=disk,
// SPACE=(TRK,1),DCB=BLKSIZE=80
Note: Use the SYSPCH, SYS002, and RELDCTL work files that IDMSTBLU generates as input to the MAINTAIN INDEX utility (Step 6) SYS001, SYS003, and RELDCTL respectively.
Note: For a sample program, see Appendix A: Sample Program to Call IDMSTBLU BUILD Function.
OLD SCHEMA NAME IS old-schema
NEW SCHEMA NAME IS new-schema.
Note: For more information about the IDMSRSTC program, see the CA IDMS Utilities Guide: Chapter 6 for general information and Chapter 7 for JCL examples.
For more information about the IDMSRSTT macro, see the CA IDMS Utilities Guide: Appendix B for general information and Chapter 7 for sample JCL.
RESTRUCTURE SEGMENT EMPDEMO USING old-ssc RSTTMOD IDMSRSTT;
Note: For information about the Restructure Utility, see Chapter 5 in the CA IDMS Utilities Guide. For sample JCL, see Chapter 7 in the CA IDMS Utilities Guide.
MAINTAIN INDEX IN SEGMENT EMPDEMO USING new-ssc FROM SORT3 ;
Note: Use the SYSPCH, SYS002, and RELDCTL work files that IDMSTBLU generates as input to the MAINTAIN INDEX utility as SYS001, SYS003, and RELDCTL respectively. To see the full JCL for this step, see Chapter 7 in the CA IDMS Utilities Guide. For additional information about Maintain Index, see Chapter 5 in the CA IDMS Utilities Guide.
The conversion of the chain set to a user-owned index set is complete.
|
Copyright © 2013 CA.
All rights reserved.
|
|