Use the CICS® VT ISPF mapping component to perform the next automated mapping step. Ensure that you have defined the CICS VT mapping defaults before using the automated mapping facility. These are described in Defining mapping defaults.
Select option 1 Auto mapping facility from the CICS VT main menu. This displays the automated mapping entry panel, as shown in Figure 1:
------------------------- CICS VT: Auto mapping entry panel ----------------------
Command ===> _________________________________________________________________
Selection of DIM names processed by the VIDMAPIN utility:-
Enter file name pattern ==> %_______
(wildcard symbol is %)
Enter job card statement to be used by generated batch jobs:-
===> //VIDJOB JOB (ACCT,PGMer-name),CLASS=L,MSGCLASS=X,NOTIFY=&SYSUID __ <===
===> //WHERESMY JCLLIB ORDER=my.SVIDCNFG.custom_________________________ <===
===> ___________________________________________________________________ <===
===> ___________________________________________________________________ <===
Press: Enter to continue PF3 to exit PF1 for help
Specify the DIM name pattern and press Enter. CICS VT builds a list of all DIMs that match the file name pattern and displays them in the following screen:
-------------------------- CICS VT: Auto mapping list ------------ Row 1 of 11
Command ===> ________________________________________________ Scroll ===> CSR_
Press: Enter to continue PF3 to exit PF1 for help
Commands: ADD Add new data set information (use for the first entry)
Actions: S - Select for automated mapping D - Delete data set information
A - Add new data set information F - Delete all information for DIM
Act DIM name Data set name Status
--- -------- -------------------------------------------- ---------------------
_ LAAFES CICSVT.LCN.AAFES DIM mapped
_ LCCTFIL CICSVT.LCN.ACCTFIL DIM mapped
_ LCNMIN1 CICSVT.LCN.LCNMIN DIM mapped
_ LCNMIN2 CICSVT.LCN.LCNMIN DIM mapped
_ LCNMIN3 CICSVT.LCN.LCNMIN DIM mapped
_ LCNMIN4 CICSVT.LCN.LCNMIN Ready to map
_ LCN750 CICSVT.LCN.LCN750 DIM mapped
_ LFBTLRC CICSVT.LCN.FBTLRC Ready to map
_ LLONGC1 CICSVT.LCN.LONGC1 Ready to map
_ LONGC1 CVTLONG.LONGC1 DIM mapped
S VIDKSDS VID.VIDKSDS Ready to map
A data set is only eligible for automated mapping if the status is Ready to map. Specify S in the Act field for automated mapping.
Option A performs exactly the same as the ADD command, and presents a screen to supply information for a new data set.
If you want to delete a data set that you have mapped previously, shown as DIM mapped in the status field, specify D in the Act field. This deletes all of the mapping information and all the DB2® objects previously created for the data set. However, data for this DIM that was gathered by analysing the VSAM cluster is not deleted. Use F to delete the mapping information and previously gathered information. Options D and F display confirmation screens.