With dynamic resource definition (DRD) enabled,
you can create runtime application program resources and resource
descriptors dynamically, eliminating the need to use the online change
process or the batch system definition process with an IMS cold start.
Create runtime application program resource and descriptor
definitions using the CREATE PGM and CREATE PGMDESC commands.
Procedure
- Optional: Issue a QUERY PGMDESC DEFAULT(Y)
SHOW (ALL) command to view the current application program
default settings and evaluate whether they meet your requirements
for the new application program resource or descriptor definition.
If the default settings do not meet your requirements, you have
the following options:
- Override the default settings by issuing the CREATE command with
parameter values that meet your requirements.
- Create the resource or descriptor definition based on an existing
resource or descriptor definition by using either the LIKE (RSC(resource_name))
keyword or the LIKE (DESC(descriptor_name)) keyword.
- Create a default descriptor by issuing a CREATE PGMDESC
NAME() SET (DEFAULT(Y)) command with the settings that meet
your requirements.
The next two steps can be performed in any order.
- Issue a CREATE PGM or CREATE
PGMDESC command to create application program resources
or descriptors definitions, respectively.
- Define the application program, as well as its relationships
to other resources, by running the Program Specification Block Generation
(PSBGEN) utility.
For the details about parameters for the CREATE command,
see IMS
Version 15 Commands, Volume 1: IMS
Commands A-M.