Creating and installing the Atom collections resources
To expose the VSAM files as Atom collections you can use the CICS Explorer® to create a bundle project containing the XML binding, schema, and three Atom configuration files, one configuration file for each VSAM file.
About this task
Complete the tasks listed in the following procedure to set up CICS® definitions to expose the new orders, fulfilled orders, and unfulfilled orders VSAM files as Atom collections.
It is assumed that the new orders, fulfilled orders, and unfulfilled orders VSAM files exist in a
CICS region with an associated copy book. For this scenario,
the FILE resources associated with these files are called ORDERS, UNFULFIL, and FULFILL
respectively. The copy book must have the file extension .cbl or .cpy with the following
structure:
01 ORDER-DETAILS.
10 ORDER-NUMBER PIC X(5).
10 ITEM-ID PIC X(5).
10 ITEM-DESC PIC X(50).
10 ITEM-QUANT PIC S9(8) BINARY.
10 ITEM-PRICE PIC X(6).
10 FULFILLED PIC X.
88 COMPLETED VALUE 'Y'.
88 INCOMPLETE VALUE 'N'.
*71 BYTES IN LENGTH
*KEY IS 5 BYTES FROM OFFSET 0
The
copy book in this scenario is called OrdStruc.cblProcedure
Results
An XML binding, schema, and three Atom configuration files are included into a bundle project.
