Recommendations for the storage model of programs and service programs
- Consider using STGMDL(*INHERIT) for ACTGRP(*CALLER) programs and service programs, unless the benefits of the teraspace storage model are always required by the program or service program.
- If programs and service programs are created with named activation groups, consider using a naming convention to identify teraspace activation groups. For example, you could end the teraspace activation group names with TS. This conforms to the way the activation group name is chosen when you specify ACTGRP(*STGMDL) for CRTBNDRPG or CRTPGM; in that case QILETS is used for teraspace storage model and QILE is chosen for single-level storage model.
- Avoid creating teraspace storage model and single-level storage model programs with the same activation group attribute. For example, assume that TERAPGM is a teraspace storage model program and SLSPGM is a single-level storage model program, and both TERAPGM and SLSPGM are compiled to use ACTGRP(MYACTGRP). If TERAPGM is called first, then activation group MYACTGRP would be created as a teraspace storage model activation group and any attempt to call SLSPGM would fail due to a storage model mismatch. Similarly, if SLSPGM is called first, then activation group MYACTGRP would be created as a single-level storage model activation group and any attempt to call TERAPGM would fail due to a storage model mismatch.
See ILE Concepts for more information.