The CICS Application Programming Primer sample application
You can use this
sample application to demonstrate the design and programming of a
standard CICS® application.
It provides online inquiry and maintenance for a sample customer
credit file in a department store. The application uses VSAM files
and 3270 display and printer terminals. It was written before publication
of the Common User Access guidelines,
and provides similar function, without CUA support,
as the CUA sample application.
Creating the data sets for the Primer application
To
create the data sets that the Primer sample application requires,
edit and submit the sample job.
Making the data sets available to CICS
You
can cause CICS to dynamically allocate the files for these
data sets and open them on first reference by installing the sample
resource definitions in the group DFH$ACCT.
If no DD statement
exists for these data sets in the CICS startup
job stream, the files are allocated to the data sets with DSNAMEs
that are specified in the resource definitions: hlq.ACCTFILE
and hlq.ACIXFILE. Alternatively, you can add DD
statements for the data sets to your CICS startup
job, which causes CICS to use the DSNAMEs specified
on the DD statements instead of those in the resource definitions.
For
information about this sample application, see the CICS Application
Programming Primer.