CICS ENABLE


This command makes a resource available to applications. See Additional usage information below. 


Command

Parameters

CICS ENABLE

(FILE | TRAN | PROGRAM | DEST)

identifier

Related topic

The following table describes the parameters:

Parameter

Function

Notes

type

Type of resource to affect

Valid values are:

  • FILE: a file
  • TRAN: a CICS transaction
  • PROGRAM: a CICS application program
  • DEST: a transient data queue

Important

BBI-SS PAS to CICS communication must be active if the CICS DISABLE statement uses any of these parameters.

identifier

Resource ID for each type

Valid values are:

  • file id: Identifier is a 1- to 8-alphanumeric file name.
  • tran id: Identifier is a 1- to 4-alphanumeric transaction name.
  • program id: Identifier is a 1- to 8-alphanumeric program name.
  • dest id: Identifier is a 1- to 4-character queue name defined in the Destination Control Table (DCT).

Example

This example command enables the CICS transaction ABRW.

/* REXX */
"IMFEXEC CICS ENABLE TRAN ABRW"

CLIST example:

IMFEXEC CICS ENABLE TRAN ABRW

Additional usage information

  • Generic specifications are available with a limit 2000 resources that can be attempted.

    The limit of 2000 presents how many items are considered for enabling and does not guarantee how many resources are successfully enabled.  For example, if you specify CICS ENABLE TRAN * and during the scan of the CICS transactions to enable, those that are not eligible to be enabled are still counted as part of the 2000 limit.
  • You can use the plus sign ( + ) sign anywhere in the resource name to replace a single character. You can also use multiple plus signs to replace multiple characters. 
    For example you might specify L+P1 or L+P+. 

  • You can also use an asterisk ( * )  to replace all of the characters following the asterisk. Specifying DM* produces the same result as DM*1. 


The following lists additional REXX examples:

"IMFEXEC CICS ENABLE TRAN DM+K"
"IMFEXEC CICS ENABLE TRAN K1*"
"IMFEXEC CICS ENABLE FILE STOCK+00"
"IMFEXEC CICS ENABLE FILE STOCK*"
"IMFEXEC CICS ENABLE PROG LODPGM+1"
"IMFEXEC CICS ENABLE PROG LODPGM*"
"IMFEXEC CICS ENABLE DEST C++O"
"IMFEXEC CICS ENABLE DEST EO*"

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*