LISTEXC examples

Example 1: Default report
CICSPA LISTEXC

Example 2: Exceptions for a particular transaction

In this example, the report only contains exception records for transaction ROLE.
CICSPA LISTEXC(SELECT(EXCEPTION(INCLUDE(TRAN(ROLE)))))

Example 3: Exceptions for a specified report interval

This example lists the exception data for January 16, 2005.
CICSPA IN(SMFIN001),
       LISTEXC(SELECT(EXCEPTION(
               INCLUDE(ACTIVE(FROM(2005/01/16,),TO(2005/01/17,))))))

Example 4: Particular types of exception

You can use SELECT to report only those exception records for transactions that incurred a particular type of CICS® resource shortage. For example, the following command generates an Exception List report of only the exception class records for transactions that incurred a storage wait in either the CDSA or ECDSA.
CICSPA IN(SMFIN002),
       LISTEXC(SELECT(EXCEPTION(
               INCLUDE(STORAGEW(CDSA,ECDSA)))))
Figure 1. Exception List report - STORAGEW(CDSA,ECDSA)
 V3R2M0                                                  CICS Performance Analyzer
                                                               Exception List
 
XLST0001 Printed at 12:03:45  3/15/2011     Data from 08:08:37  2/16/2005                         APPLID               Page       1
 
                               Tran     Service  Report           Exp ..... Time ..... Current  Resource                  Exception
Tran Term LUName   Userid   SC Class    Class    Class     Taskno Seq Start    Elapsed Program    Type   Resource ID      Type
 
ABRW P045 IG2ZP045 CBAKER   TP                                834   1 08:08:37  10.189 DFHSABRW FILE     FILEA            STRING
ABRW S205 IGCS205  BRENNER  TP                                835   1 08:08:47   7.245 DFHSABRW FILE     FILEA            STRING
ABRW S220 IGCS220  BRENNER  TP                                837   1 08:08:52   2.996 DFHSABRW FILE     FILEA            STRING
CECI S220 IGCS220  BRENNER  TO                               1151   1 08:12:10    .005 DFHECID  TEMPSTOR CACA             BUFFER
CECI S220 IGCS220  BRENNER  TO                               1151   2 08:12:10    .002 DFHECID  TEMPSTOR CACA             BUFFER
CECI S220 IGCS220  BRENNER  TO                               1151   3 08:12:10    .002 DFHECID  TEMPSTOR CACA             BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   1 08:12:10    .004 DFHECID  TEMPSTOR LONGTSNAME       BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   2 08:12:10    .004 DFHECID  TEMPSTOR LONGTSNAME       BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   3 08:12:10    .002 DFHECID  TEMPSTOR LONGTSNAME       BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   4 08:12:10    .004 DFHECID  TEMPSTOR LONGTSNAME       BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   5 08:12:10    .004 DFHECID  TEMPSTOR LONGTSNAME       BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   6 08:12:10    .004 DFHECID  TEMPSTOR LONGTSNAME       BUFFER
CECI P045 IG2ZP045 CBAKER   TO                               1149   7 08:12:10    .002 DFHECID  TEMPSTOR LONGTSNAME       BUFFER

Example 5: Exceptions for FILE resources

This example produces an Exception List report like that shown in Figure 2. It includes only the exception records for a specific resource type of FILE.
CICSPA LISTEXC(SELECT(EXCEPTION(INCLUDE(RESOURCETYPE(FILE)))))
Figure 2. Exception List report
 V3R2M0                                                  CICS Performance Analyzer
                                                               Exception List
 
XLST0001 Printed at 12:03:45  3/15/2011     Data from 08:08:37  2/16/2004                         APPLID               Page       1
 
                               Tran     Service  Report           Exp ..... Time ..... Current  Resource                  Exception
Tran Term LUName   Userid   SC Class    Class    Class     Taskno Seq Start    Elapsed Program    Type   Resource ID      Type
 
ABRW P045 IG2ZP045 CBAKER   TP                                834   1 08:08:37  10.189 DFHSABRW FILE     FILEA            STRING
ABRW S205 IGCS205  BRENNER  TP                                835   1 08:08:47   7.245 DFHSABRW FILE     FILEA            STRING
ABRW S220 IGCS220  BRENNER  TP                                837   1 08:08:52   2.996 DFHSABRW FILE     FILEA            STRING

Example 6: Exceptions for LSRPOOL and FILE resources

This example generates an Exception List report for the exception records for resource types LSRPOOL and FILE.
CICSPA LISTEXC(SELECT(EXCEPTION(
                      INCLUDE(RESOURCETYPE(LSRPOOL,FILE)))))

Example 7: Exceptions for STORAGE resources

This examples produces an Exception List report that includes only the exception records for a specific resource type of STORAGE.
CICSPA LISTEXC(SELECT(EXCEPTION(INCLUDE(RESOURCETYPE(STORAGE)))))

Example 8: Exceptions for a particular transaction ID

This example produces an Exception List report that only includes the exception records for specific transaction identifiers.
CICS LISTEXC(SELECT(EXCEPTION(INCLUDE(TRAN(ABRW)))))