Example of CAZDPAGN Macros
The following illustrates the structure of an assembly source member which defines a DPA table:
1 CAZUSR01 CAZDPAGN PROLOG
2 CUSTOMER CAZDPAGN GROUP,DESCRP='Customer Programs'
3 CUSTOMER CAZDPAGN SUBGROUP,GRP=CUSTOMER,DESCRP='Customer Programs'
4 CAZDPAGN NAME=SAMP*,DESCRP='CICS Samples',SUBGRP=CUSTOMER
CAZDPAGN NAME=(APPL1*,APPL4*), X
DESCRP='Batch Applications',SUBGRP=CUSTOMER,TYPE=USER
5 CAZDPAGN NAME=CICSDB2,SUBGRP=CUSTOMER, X
DESCRP='DB2 Test Program',TYPE=USER
CAZDPAGN NAME=MQSAMP1,SUBGRP=CUSTOMER, X
DESCRP='MQ Test Program',TYPE=USER
6 CAZDPAGN NAME=TDB2,SUBGRP=CUSTOMER, X
DESCRP='DB2 Test Trans',TYPE=CICSTXN
CAZDPAGN NAME=MQS1,SUBGRP=CUSTOMER, X
DESCRP='MQ Test Trans',TYPE=CICSTXN
7 CAZDPAGN END
8 END CAZUSR01
Note:
- This generates prologue code.
- These statements define Program Groups.
- These statements define the Sub Groups within the Program Group entries.
- This is an example of a wildcard name. Any program name beginning with SAMP will be described as "CICS® samples." In the event that a more exact name match is found, the description associated with that match will prevail.
- This is an example of an exact name match entry.
- This is an example of a CICS transaction definition.
- This marks the end of the table of program entries.
- This marks the end of the assembly file.