Changing supplied CICS transaction codes

There are three transaction IDs supplied by the product, REXX, EDIT, and FLST. You can change these supplied transaction IDs.

The functions of REXX, EDIT, and FLST

REXX, EDIT, and FLST perform these functions:
REXX
Is the default transaction ID.
  • If no additional operands are supplied, the CICRXTRY exec starts. CICRXTRY allows the user to interactively enter REXX instructions and run them.
  • If REXX is entered and is followed by a string, separated from REXX by blanks, the string is interpreted as a REXX exec name followed by operands that are passed to the named REXX exec. This action causes the named exec to run.
When the REXX exec ends, control is returned to CICS®.
EDIT
Is the transaction ID associated with the REXX Development System editor.
  • If no additional operands are supplied, the CICEDIT exec starts and the file "NONAME" in the user's current RFS directory is opened for editing.
  • If EDIT is entered with an additional operand, separated from the transaction ID with a blank, the operand is interpreted as the name of a particular file in the user's current directory, which is to be opened for editing.
When the EDIT session ends, control is returned to CICS.
FLST
Is the transaction ID associated with the REXX Development System file list exec, CICFLST.
  • If no additional operands are supplied, the CICFLST exec starts and the contents of the user's current RFS directory are displayed.
  • If FLST is entered with an additional operand separated from the transaction ID with a blank, the operand is interpreted as the name of a particular RFS directory the contents of which are to be listed.
When the FLST session ends, control is returned to CICS.

Changing the supplied transaction IDs

You can change the names of the supplied transaction IDs, and you can add additional transactions that call your own EXEC commands.
  • The DEFTRNID commands in the CICSTART member, in the CICSTS54.REXX.SCICEXEC data set, define the supplied transaction IDs REXX, EDIT, and FLST, and associate them with their EXEC commands.

    If you choose to change the supplied entries, make sure that you update the resource definitions to match your changes. If you do not want users to call the editor or file list EXEC commands directly from CICS, you can delete the DEFTRNID commands, for either or both of them, from CICSTART and also from the resource definitions. Users are not allowed access to these commands directly from CICS. Ensure that you do not remove the DEFTRNID statement for the CICRXTRY command.

  • If you want to add additional transactions that call your own EXEC commands directly from CICS, add resource definitions for the transaction IDs and add further DEFTRNID commands to your CICSTART command. Your newly defined transactions become available to your users when you restart your CICS system. An authorized user can enter the DEFTRNID command directly to give immediate availability, but, until the CICSTART member is changed, these definitions are lost when CICS is restarted.


dfha1ms.html | Timestamp icon Last updated: Sunday, 4 June 2017