CICS® resource identification classes define CICS resource identifiers - typically entries in one of the CICS tables. For example an IccFileId object represents a CICS file name - an FCT (file control table) entry. All concrete resource identification classes have the following properties:
The resource identification classes improve type checking; methods that expect an IccFileId object as a parameter do not accept an IccProgramId object instead. If character strings representing the resource names are used instead, the compiler cannot check for validity - it cannot check whether the string is a file name or a program name.
Many of the resource classes, described in Resource classes, contain resource identification classes. For example, an IccFile object contains an IccFileId object. You must use the resource object, not the resource identification object to operate on a CICS resource. For example, you must use IccFile, rather than IccFileId to read a record from a file.
Class | CICS resource | CICS table |
---|---|---|
IccAlarmRequestId | alarm request | |
IccConvId | conversation | |
IccDataQueueId | data queue | |
IccFileId | file | FCT |
IccGroupId | group | |
IccJournalId | journal | |
IccJournalTypeId | journal type | |
IccLockId | (Not applicable) | |
IccPartnerId | APPC partner definition files | |
IccProgramId | program | PPT |
IccRequestId | request | |
IccSysId | remote system | |
IccTempStoreId | temporary storage | TST |
IccTermId | terminal | TCT |
IccTPNameId | remote APPC TP name | |
IccTransId | transaction | PCT |
IccUserId | user |