The example application uses two KSDS VSAM data sets to
be defined and populated. One data set contains configuration information
for the example application. The other contains the sales catalog.
- Locate the JCL to create the VSAM data sets.
During CICS® installation, the JCL is placed in the hlq.SDFHSAMP library:
- Member DFH$ECNF contains the JCL to generate
the configuration data set.
- Member DFH$ECAT contains the JCL to generate
the catalog data set.
- Modify the JCL and access method services commands.
- Supply a valid JOB card.
- Supply a suitable high level qualifier for the data
set names in the access method services commands. As supplied,
the JCL uses a high level qualifier of HLQ.
The
following command defines the catalog file:
DEFINE CLUSTER (NAME(hlq.EXMPLAPP.catname)-
TRK(1 1) -
KEYS(4 0) -
RECORDSIZE(80,80) -
SHAREOPTIONS(2 3) -
INDEXED -
) -
DATA (NAME(hlq.EXMPLAPP.catname.DATA) -
) -
INDEX (NAME(hlq.EXMPLAPP.catname.INDEX) -
)
where
- hlq is a high level qualifier
of your choice
- catname is a name of your
choice. The name used in the example application as supplied is EXMPCAT.
The following command defines the configuration file:
DEFINE CLUSTER (NAME(hlq.EXMPLAPP.EXMPCONF)-
TRK(1 1) -
KEYS(9 0) -
RECORDSIZE(350,350) -
SHAREOPTIONS(2 3) -
INDEXED -
) -
DATA (NAME(hlq.EXMPLAPP.EXMPCONF.DATA) -
) -
INDEX (NAME(hlq.EXMPLAPP.EXMPCONF.INDEX) -
)
where
hlq is
a high level qualifier of your choice.
- Run both jobs to create and populate the data sets.
- Use the CEDA transaction to create a FILE definition for
the catalog file.
- Enter the following: CEDA DEF FILE(EXMPCAT)G(EXAMPLE). Alternatively, you can copy the FILE definition from CICS supplied group DFH$EXBS.
- Enter the following additional attributes:
- DSNAME(hlq.EXMPLAPP.EXMPCAT)
- ADD(YES)
- BROWSE(YES)
- DELETE(YES)
- READ(YES)
- UPDATE(YES)
- Use the default values for all other attributes.
- Use the CEDA transaction to create a FILE definition for
the configuration file.
- Enter the following: CEDA DEF FILE(EXMPCONF)
G(EXAMPLE). Alternatively, you can copy the
FILE definition from CICS supplied
group DFH$EXBS.
- Enter the following additional attributes:
- DSNAME(hlq.EXMPLAPP.EXMPCONF)
- ADD(YES)
- BROWSE(YES)
- DELETE(YES)
- READ(YES)
- UPDATE(YES)
- Use the default values for all other attributes.