Defining and maintaining individual resource definitions - IBM - AS/400

As with the CL commands that enable you to work with groups, there is a set of CL commands that enable you to define and maintain individual resource definitions. You must create the group before you create any resource definitions for the group.

The CL commands can be invoked by any of the following methods:

  • From outside a user shell by:
  • – Entering them on the OS/400 command line
    – Coding them into an OS/400 CL program.
  • From inside a user shell using the supplied transaction CEDA. CEDA also gives you the ability to apply the changes to the control region while it is running.

Note: You cannot work with a table when CEDA is being run remotely using the CICS-supplied transaction CRTE, as it will be when using the CICS client terminal emulator. To process resource definitions, you need to interact with the OS/400 interface, which you cannot do through CRTE.

The commands are:

  • ADDCICSxxx
  • Add a resource definition

    The OS/400 CL commands that enable you to add resource definition entries are called ADDCICSxxx.

    Depending on the type of resource being entered, only certain parameters are presented. For example, if you are adding a definition for a local file with ADDCICSFCT, you are not prompted for the remote file name,record length, or key length.

    Note: In a CL program environment, you are able to enter all the parameters that are available on a specific command; but when you run the program only the appropriate parameters take effect. Using the example above, if you had coded the remote file name, record length and key length, they would have been ignored if RMTSYSID(*NONE) was specified.

  • CHGCICSxxx
  • Change a resource definition

    Existing definitions can be changed using the CHGCICSxxx commands. Each parameter has the reserved option of *SAME which means that if left unchanged the value that was held previously in the entry is used. As with the ADDCICSxxx functions, only parameters that are applicable to the type of entry that you are changing are displayed.

  • DSPCICSxxx
  • Display or print a resource definition

    The DSPCICSxxx functions allow you to display all the values set for a selected group of entries. Alternatively, if you select OUTPUT(*PRINT), a spool file is created.

  • RMVCICSxxx
  • Remove an existing resource definition

  • WRKCICSxxx
  • Work with a resource definition table type

    Use the WRKCICSxxx command to work with a number of definitions held in a specific table type. You can enter selection criteria by which entries are chosen for display. In each of these commands, xxx is the three-letter acronym for a resource table, for instance TCT for Terminal Control Table.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

IBM - AS/400 Topics