Example 4 - Listing records
This example illustrates how to list selected records in the data repository.
To list all workload specification records that have names beginning with EYU, you would specify:
CONTEXT EYUPLX01;
LIST WLMSPEC NAME(EYU*);
Figure 1 illustrates the output format of records that you list from
the data repository. Note that the output produced by the DUMP control statement is very similar;
the major difference being that the word CREATE precedes the resource table name. If you use the
OUTPUT command, the DUMP command will produce both a report, as illustrated in Figure 1, and a data set, which contains the CREATE commands in a form
suitable for re-input to the CICSPlex® SM
batched repository-update facility; see Example 6 - Dumping records as input to create new records. Figure 1. Sample output produced when listing data repository definitions
CICSPlex SM - Repository Process Report
Input DSN: CPSM.BATCH.SAMPLE Input Member: TEST
CONTEXT EYUPLX01;
LIST WLMSPEC NAME(EYU*);
EYUXU0218I CVMBBC Batch LIST request complete - Status(OK)
Last Change: 9/06/93 21:18:25.85895
WLMSPEC NAME(EYUWMS02)
DESC(Sample definition 1)
AFFINITY(USERID)
AFFLIFE(SIGNON)
MATCH(USERID)
AORSCOPE(EYUCSG01)
EVENTNAME(PAGERATE)
ABENDCRIT(0)
ABENDTHRESH(0)
ALGTYPE(GOAL)
;
Last Change: 8/14/93 15:27:05.34023
WLMSPEC NAME(EYUWMS03)
DESC(Sample definition 2)
AFFINITY(GLOBAL)
AFFLIFE(PERMANENT)
MATCH(N/A)
AORSCOPE(EYUCSG01)
EVENTNAME( )
ABENDCRIT(0)
ABENDTHRESH(0)
ALGTYPE(N/A)
;
Note: In the EYUWMS03 record in Figure 1,
EVENTNAME is an example of a keyword that has no value; MATCH and ALGTYPE
are examples of keywords with a value of N/A.