by Robert Sample » Fri Nov 05, 2010 3:52 am
Use CEDA DEFINE to define a transaction (WXYZ for example), a program (PROGWXYZ for example), and a mapset (MSWXYZ for example). These must be defined in a group -- for you, use one group. Most sites have a group for programs, a group for transactions, and so forth, but they may have dozens or hundreds of programs defined. The group must be installed using the CEDA INSTALL verb. For simplicity, add the group to the CICS start up list (usually the region name but not always). This will install the group back into the region each time it comes up -- otherwise, when the region is bounced (brought down and back up), your CEDA entries will have to be installed again.
Then you can use your tool to define one (or more) maps within mapset MSWXYZ. Compile the mapset to generate a load module. You can then use CECI (the Command Interpreter) to show you the map by entering CECI SEND MAPSET('MXWXYZ') MAP(....). You then write the program PROGWXYZ, doing a COPY of MSWXYZ to bring in the map definition, and using SEND MAP and RECEIVE MAP appropriately to display the map and retrieve the data entered into the mapset. Compile the program to generate a load module. You can then enter your transaction (WXYZ) in CICS to test the program and map.