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:
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:
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.
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.
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.
Remove an existing resource definition
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.
|
|
IBM - AS/400 Related Tutorials |
|
---|---|
IBM - RPG Tutorial | IBM Cognos Tutorial |
IBM DB2 Tutorial |
IBM - AS/400 Related Interview Questions |
|
---|---|
IBM - RPG Interview Questions | IBM - VSAM Interview Questions |
IBM Cognos Interview Questions | IBM DB2 Interview Questions |
System Administration Interview Questions | IBM AIX Interview Questions |
SQL Interview Questions | AS400 Interview Questions |
IBM BPM Interview Questions | Synopsys Interview Questions |
Rpgle Interview Questions |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.