Change CICS FCT Entry (CHGCICSFCT)

Where allowed to run:
  • Batch job (*BATCH)
  • Interactive job (*INTERACT)
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
  • Batch REXX procedure (*BREXX)
  • Interactive REXX procedure (*IREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

Use the Change CICS File Control Table (CHGCICSFCT) command to change an entry in the FCT.

The File Control Table (FCT) defines all the files, both local and remote, that are used either by CICS or by application programs. All files must conform to one of the VSAM file types:

Top

Parameters

Keyword Description Choices Notes
LIB Library Communications name, *LIBL, *CURLIB Required, Positional 1
GROUP Group Communications name Required, Positional 2
FILEID CICS file Communications name Required, Positional 3
SYSID Remote CICS system Communications name, *SAME, *NONE Optional, Positional 4
RMTFILE Remote CICS file Communications name, *SAME, *FILEID Optional, Positional 5
RMTKEYLEN Remote maximum key length 0-32767, *SAME Optional, Positional 6
RMTLENGTH Remote maximum record length 1-32767, *SAME Optional, Positional 7
FILE File Qualified object name Optional, Positional 8
Qualifier 1: File Name, *SAME
Qualifier 2: Library Name, *SAME, *LIBL, *CURLIB
MBR Member Name, *SAME, *FIRST Optional, Positional 9
RCDFMT Record format *SAME, *FIXED, *VARIABLE Optional, Positional 10
FILESTS Status *SAME, *ENABLED, *DISABLED, *CLOSED Optional, Positional 11
ACCMTH Access method *SAME, *KEY, *ENTRY, *REL Optional, Positional 12
RECOVER Recoverable *SAME, *YES, *NO Optional, Positional 13
CLRFILE Clear file *SAME, *NO, *YES Optional, Positional 14
ACCPTH Access path *SAME, *FILE, *ARRIVAL Optional, Positional 15
RCDACT File processing Element list Optional, Positional 16
Element 1: Add allowed *SAME, *NOADD, *ADD
Element 2: Browse allowed *SAME, *NOBROWSE, *BROWSE
Element 3: Delete allowed *SAME, *NODLT, *DLT
Element 4: Read allowed *SAME, *NOREAD, *READ
Element 5: Update allowed *SAME, *NOUPD, *UPD
JRNCTL Journal processing Element list Optional, Positional 17
Element 1: Number 0-99, *SAME
Element 2: READ ONLY operations *SAME, *NOREADONLY, *READONLY
Element 3: READ UPDATE operations *SAME, *NOREADUPD, *READUPD
Element 4: WRITE NEW operations *SAME, *WRTNEW, *NOWRTNEW
Element 5: WRITE UPDATE operations *SAME, *WRTUPD, *NOWRTUPD
Top

Library (LIB)

Enter the name of the OS/400 library that contains the group. Possible values are:

Top

Group (GROUP)

Enter the name of the group containing the FCT entry to be changed.

Top

CICS file (FILEID)

Enter the name by which this file is known. This is the name that will be used in EXEC CICS file control commands. This name is also used to identify this FCT entry.

Top

Remote CICS system (SYSID)

Enter the identifier of the system where the file is located. The system identifier must have a local terminal control system table entry. If this field contains the identifier of the local system, this entry will be treated as if *NONE had been entered.

Possible values are:

Top

Remote CICS file (RMTFILE)

Enter the identifier by which the file is known on the remote system. This field is not valid for local files, that is when the system identifier field contains *NONE.

Possible values are:

Top

Remote maximum key length (RMTKEYLEN)

Enter the length in bytes of the key field for the file. This field is valid for key-sequenced data sets only. The value must be the same as that specified in the FCT entry in the remote system.

This field is not valid for local files, that is when the system identifier field contains *NONE.

Possible values are:

Top

Remote maximum record length (RMTLENGTH)

Enter the length in bytes of the maximum record size for the file. The value specified must correspond to the size of the record associated with the file in the remote system. This field is not valid for local files, that is when the system identifier field contains *NONE.

Possible values are:

Top

File (FILE)

Enter the library and file name of the file that will be utilized by this file identifier. This field is valid only for a local file, that is when the system identifier field contains *NONE.

Top

Member (MBR)

Enter the name of the member in the file that will be utilized by this file identifier. This field is valid only for a local file, that is when the system identifier field contains *NONE.

Possible values are:

Top

Record format (RCDFMT)

Indicates whether the record format of the file is fixed length or variable length. This field is valid only for local files, that is when the system identifier field contains *NONE.

Possible values are:

Top

Status (FILESTS)

Indicates whether or not the file identifier can be used. This field is valid only for a local file, that is when the system identifier field contains *NONE.

Possible values are:

Top

Access method (ACCMTH)

Enter the method that is to be used to access the file. This field is valid only for local files, that is when the system identifier field contains *NONE.

Possible values are:

Note: This field is ignored if you enter *ARRIVAL in the access path field.

Top

Recoverable (RECOVER)

Indicates whether or not the file associated with the CICS file identifier is recoverable or not recoverable. This parameter is valid only for a local file, that is when the system identifier field contains *NONE.

Possible values are:

Top

Clear file (CLRFILE)

Indicates whether or not the file is to be cleared when this file identifier is first opened. This field is valid only for a local file, that is when the system identifier field contains *NONE.

Possible values are:

Top

Access path (ACCPTH)

Indicates whether the file associated with the file identifier should be processed in arrival sequence (sequential) or in accordance with the value in the access method field (that is by key, entry-sequence number, or relative-record number). This field is valid only for a local file, that is when the system identifier field contains *NONE.

Note: ACCPTH(*ARRIVAL) is not valid when ACCMTH(*KEY) is specified.

Possible values are:

Top

File processing (RCDACT)

Indicates whether or not records in the file can be added, browsed, deleted, read or updated. This field is valid only for local files, that is when the system identifier field contains *NONE.

There are 5 elements to this field. Possible values are:

Top

Journal processing (JRNCTL)

Specifies the number of the journal file to be used with this file and which READ and WRITE operations are to be journaled. This field is valid only for a local file, that is when the system identifier field contains *NONE.

Possible values are:

Top

Examples

None
Top

Error messages

Unknown
Top