Managing file resource definitions - IBM - AS/400

The file control table (FCT) defines all the files, both local and remote, that are used either by CICS/400 or by application programs. All files must be defined to have the following VSAM emulation file types:

  • Key-sequence data set (KSDS), that is each record is accessed by predefined keys
  • Entry-sequence data set (ESDS), that is each record is accessed by its relative byte address
  • Relative-record data set (RRDS), that is each record is accessed by its record number

Using the ADDCICSFCT command
Flowchart

Using the ADDCICSFCT command

Using the ADDCICSFCT command

Using the ADDCICSFCT command
Notes:

  1. The RMTFILE parameter, RMTKEYLEN parameter, and RMTLENGTH parameter are not valid when SYSID(*NONE) is specified.
  2. The FILE parameter, MBR parameter, RCDFMT parameter, FILESTS parameter, ACCMTH parameter, RECOVER parameter, CLRFILE parameter, ACCPTH parameter, RCDACT parameter, and JRNCTL parameter are valid only when SYSID(*NONE) is specified.
  3. The FILE parameter is required when SYSID(*NONE) is specified.
  4. ACCPTH(*ARRIVAL) is not valid when ACCMTH(*KEY) is specified.

Function
Use the Add CICS/400 File Control Table (ADDCICSFCT) command to add an entry to the file control table (FCT).

Required parameters

  1. Library (LIB)
  2. Enter the name of the OS/400 library that contains the CICS/400 group.
    Possible library values are:
    *LIBL: The library list is used to locate the first OS/400 library that contains the group.
    *CURLIB: The current library contains the group.If no current library is specified, the QGPL library is used.
    library-name:The name of the OS/400 library that contains the group.
  3. Group (GROUP)
  4. Enter the name of the group to which this FCT entry is to be added.
    group-name:The group name may have a maximum length of 10 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  5. CICS file (FILEID)
  6. 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.
    file-identifier:The file identifier may have a maximum length of 8 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.

Optional parameters

  1. CICS system (SYSID)
  2. Enter the identifier of the system where the file is located. The system identifier must have a terminal control system (TCS) table entry. This parameter is only required for remote files. If this parameter contains the ID of the local system, the entry will be treated as if *NONE had been entered.
    Possible values are:
    *NONE: The file is held on the local system.
    system-identifier:A system ID up to four characters in length. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  3. Remote CICS file (RMTFILE)
  4. Enter the identifier by which the file is known on the remote system. This parameter is not valid for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *FILEID: The name entered in the File (FILE) parameter will be used as the remote file name.
    remote-file: A file identifier up to 8 characters in length. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  5. Remote maximum key length (RMTKEYLEN)
  6. Enter the length in bytes of the key field for the file. This parameter is valid for key-sequenced data sets only. The value must be the same as that specified in the FCT entry on the remote system. This parameter is not valid for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    0: File does not have a key field. This is the value that should be entered for entry-sequenced data sets and relative record data sets.
    remote-key-length: A number in the range 1 through 32 767.
  7. Remote maximum record length (RMTLENGTH)
  8. 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 parameter is not valid for the local system, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    1: File has a record length of one.
    remote-record-length:A number in the range 1 through 32 767.
  9. File (FILE)
  10. Enter the library and file name of the file that will be utilized by this file identifier. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    Specify one of the following library value:
    *LIBL: The library list for the job that is associated with the CICS/400 control region is used to locate the file.
    *CURLIB: The current library for the job that is associated with the CICS/400 control region is used to locate the file. If no library is specified as the current library, the QGPL library is used.
    library-name:Specify the name of the library where the file is located.
    file-name:Specify the name of the file.
  11. Member (MBR)
  12. Enter the name of the member in the file that will be utilized by the file identifier. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *FIRST: No file member is specified. The first member in the file is used.
    member-name:Specify the name of the file member.
  13. Record format (RCDFMT)
  14. Indicates whether the record format of the file is fixed length or variable length. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *FIXED: All records in the file have the same length.
    *VARIABLE: The records in the file are of variable lengths.
  15. Status (FILESTS)
  16. Indicates whether or not the file associated with the file identifier can be used. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *ENABLED: The file can be used.
    *DISABLED: The file cannot be used until it has been enabled.
    *CLOSED: The file cannot be used until it has be opened.
  17. Access method (ACCMTH)
  18. Enter the method that is to be used to access the file. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *KEY: The records in the file will be accessed by key. The file must be a KSDS.
    *ENTRY: The records in the file will be accessed by entry-sequence number. The file must be an ESDS.
    *REL: The records in the file will be accessed by relative-record number. The file must be an RRDS.
    Note that this parameter is ignored if you enter *ARRIVAL in the Access path (ACCPTH) parameter.
  19. Recoverable (RECOVER)
  20. Indicates whether or not the file associated with the file identifier is recoverable. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.

    Possible values are:
    *YES: The file is recoverable.
    *NO: The file is not recoverable.

  21. Clear file (CLRFILE)
  22. indicates whether or not the file is to be cleared when this file identifier is first opened. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *NO: Do not clear the file when opened.
    *YES: Clear the file when opened.
  23. Access path (ACCPTH)
  24. 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 (ACCMTH) parameter (that is by key, entry-sequence number, or relative-record number). This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *FILE: The file will be processed in accordance with the value in the Access method (ACCMTH) parameter.
    *ARRIVAL: The file will be processed in the arrival sequence (sequentially), regardless of the value in the Access method (ACCMTH) parameter.
  25. File processing (RCDACT)
  26. Indicates whether or not records in the file associated with the file identifier can be added, browsed, deleted, read, or updated. This parameter is not valid for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    There are 5 elements to this field. Possible values are:
    • Element 1: Add allowed
    • Indicates whether or not records can be added to the file.
      *NOADD: Records cannot be added.
      *ADD: Records can be added.

    • Element 2: Browse allowed
    • Indicates whether or not records can be browsed.
      *NOBROWSE: Records cannot be browsed.
      *BROWSE: Records can be browsed.

    • Element 3: Delete allowed
    • Indicates whether or not records can be deleted.
      *NODLT: Records cannot be deleted.
      *DLT: Records can be deleted.

    • Element 4: Read allowed
    • Indicates whether or not records can be read.
      *NOREAD: Records cannot be read. (This is the default, unless either the browse or update capability is specified.)
      *READ: Records can be read.

    • Element 5: Update allowed
    • Indicates whether or not records can be updated.
      *NOUPD: Records cannot be updated.
      *UPD: Records can be updated.

  27. Journal processing (JRNCTL)
  28. Specifies the number of the journal file to be used with this file, and which READ and WRITE operations are to be journaled. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains*NONE.
    There are 5 elements to this field. Possible values are:
    • Element 1: Number
    • The journal number to be used for recording READ and WRITE activity on this file. The journal number must be associated with a file through a journal control table (JCT) entry.
      0: No journaling is to occur for the file associated with this file identifier.
      journal-number:A number in the range 1 through 99.

    • Element 2: READ ONLY operations
    • Indicates whether or not READ ONLY operations will be journaled.
      *NOREADONLY: READ ONLY operations will not be journaled.
      *READONLY: READ ONLY operations will be journaled.

    • Element 3: READ UPDATE operations
    • Indicates whether or not READ UPDATE operations will be journaled.
      *NOREADUPD: READ UPDATE operations will not be journaled.
      *READUPD: READ UPDATE operations will be journaled.

    • Element 4: WRITE NEW operations
    • Indicates whether or not WRITE NEW operations will be journaled.
      *WRTNEW: WRITE NEW operations will be journaled
      *NOWRTNEW: WRITE NEW operations will not be journaled.

    • Element 5: WRITE UPDATE operations
    • Indicates whether or not WRITE UPDATE operations will be journaled.
      *WRTUPD: WRITE UPDATE operations will be journaled.
      *NOWRTUPD: WRITE UPDATE operations will not be journaled.

Examples

ADDCICSFCT

LIB ( CICSWORK )

GROUP ( ACCT )

FILEID ( ACCTFIL )

FILE ( CICSWORK/ACCTFIL )

RECOVER ( *NO )

RCDACT ( *ADD *NOBROWSE *DLT *READ *UPD )

JRNCTL ( 2 *NOREADONLY *NOREADUPD )

This command adds an FCT entry called ACCTFIL to group ACCT in OS/400 library CICSWORK. The Access method (ACCMTH) parameter has been omitted, indicating, by default, a key-sequenced data set (KSDS). The file is not recoverable. READ ONLY and READ UPDATE activity will not be journaled. By default, WRITE NEW and WRITE UPDATE operations will be journaled.

Using the CHGCICSFCT command
Flowchart

Using the CHGCICSFCT command

Using the CHGCICSFCT command
Notes:

  1. The RMTFILE parameter, RMTKEYLEN parameter, and RMTLENGTH parameter are not valid when SYSID(*NONE) is specified.
  2. The FILE parameter, MBR parameter, RCDFMT parameter, FILESTS parameter, ACCMTH parameter, RECOVER parameter, CLRFILE parameter, ACCPTH parameter, RCDACT parameter, and JRNCTL parameter are valid only when SYSID(*NONE) is specified.
  3. The FILE parameter is required when SYSID(*NONE) is specified.
  4. ACCPTH(*ARRIVAL) is not valid when ACCMTH(*KEY) is specified.
  5. All parameters preceding this point can be specified positionally.

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

Required parameters

  1. Library (LIB)
  2. Enter the name of the OS/400 library that contains the CICS/400 group.
    Possible values are:
    *LIBL: The library list is used to locate the first OS/400 library that contains the group.
    *CURLIB: The current library contains the group. If no current library is specified, the QGPL library is used.
    library-name:The name of the OS/400 library that contains the group.
  3. Group (GROUP)
  4. Enter the name of the group containing the FCT entry to be changed.
    group-name: The group name may have a maximum length of 10 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  5. CICS file (FILEID)
  6. 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.
    file-identifier:The file identifier may have a maximum length of 8 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.

Optional parameters

  1. CICS system (SYSID)
    Enter the identifier of the system where the file is located. The system identifier must have a local terminal control system (TCS) table entry. This parameter is required only for remote files. If this parameter contains the identifier of the local system, this entry will be treated as if *NONE had been entered.
    Possible values are:
    *SAME: Keep the system ID currently specified in the FCT entry.
    *NONE: The file is held on the local system.
    system-identifier:A system ID up to 4 characters in length. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  2. Remote CICS file (RMTFILE)
  3. Enter the identifier by which the file is known on the remote system. This parameter is not valid for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *FILEID: The name entered in the File (FILE) parameter will be used as the remote file name.
    remote-file:A file identifier up to 8 characters in length. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  4. Remote maximum key length (RMTKEYLEN)
  5. Enter the length in bytes of the key field for the file. This parameter 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 parameter is not valid for a local file, that is when the CICS system(SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep to value currently specified in the FCT entry.
    remote-key-length:A number in the range 0 through 32 767. Zero (0) should be specified for entry-sequenced and relative-record data sets.
  6. Remote maximum record length (RMTLENGTH)
  7. 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 parameter is not valid for a local file, that is when theCICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    remote-record-length:A number in the range 1 through 32 767.
  8. File (FILE)
  9. Enter the library and file name of the file that will be utilized by this file identifier. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    Specify one of the following library values:
    *SAME: Keep the value currently specified in this FCT entry.
    *LIBL: The library list for the job that is associated with the CICS/400 control region is used to locate the file.
    *CURLIB: The current library for the job that is associated with the CICS/400 control region is used to locate the file. If no library is specified as the current library, the QGPL library is used.
    library-name:Specify the name of the library where the file is located.
    Specify one of the following name values:
    *SAME: Keep the name currently specified in this FCT entry.
    file-name:Specify the name of the file.
  10. Member (MBR)
  11. Enter the name of the member in the file that will be utilized by this file identifier. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE. Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *FIRST: No file member is specified. The first member in the file is used.
    member-name:Specify the name of the file member.
  12. Record format (RCDFMT)
  13. Indicates whether the record format of the file is fixed length or variable length. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *FIXED: All records in the file have the same length.
    *VARIABLE: The records in the file are of variable lengths.
  14. Status (FILESTS)
  15. Indicates whether or not the file associated with the file identifier can be used. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *ENABLED: The file can be used.
    *DISABLED: The file cannot be used until it has been enabled.
    *CLOSED: The file cannot be used until it has been opened.
  16. Access method (ACCMTH)
  17. Enter the method that is to be used to access the file. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *KEY: The records in the file will be accessed by key. The file must be a KSDS.
    *ENTRY: The records in the file will be accessed by entry-sequence number. The file must be an ESDS.
    *REL: The records in the file will be accessed by relative-record number. The file must be an RRDS.
    Note that this parameter is ignored if you enter *ARRIVAL in the Access path (ACCPTH) parameter.
  18. Recoverable (RECOVER)
  19. Indicates whether or not the file associated with the CICS/400 file identifier is recoverable. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *YES: The file is recoverable.
    *NO: The file is not recoverable.
  20. Clear file (CLRFILE)
  21. Indicates whether or not the file is to be cleared when the file associated with this file identifier is first opened. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *NO: Do not clear the file when opened.
    *YES: Clear the file when opened.
  22. Access path (ACCPTH)
  23. 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 (ACCMTH) parameter (that is by key, entry-sequence number, or relative-record number). This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    *SAME: Keep the value currently specified in this FCT entry.
    *FILE: The file will be processed in accordance with the value in the Access method (ACCMTH) parameter.
    *ARRIVAL: The file will be processed in the arrival sequence (sequentially), regardless of the value in the Access method (ACCMTH) parameter.
  24. File processing (RCDACT)
  25. Indicates whether or not records in the file associated with the file identifier can be added, browsed, deleted, read, or updated. This parameter is only valid for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    There are 5 elements to this field. Possible values are:
    • Element 1: Add allowed
    • Indicates whether or not records can be added to the file.
      *SAME: Keep the value currently specified in this FCT entry.
      *NOADD: Records cannot be added.
      *ADD: Records can be added.

    • Element 2: Browse allowed
    • Indicates whether or not records can be browsed in the file.
      *SAME: Keep the value currently specified in this FCT entry.
      *NOBROWSE: Records cannot be browsed.
      *BROWSE: Records can be browsed.

    • Element 3: Delete allowed
    • Indicates whether or not records can be deleted in the file.
      *SAME: Keep the value currently specified in this FCT entry.
      *NODLT: Records cannot be deleted.
      *DLT: Records can be deleted.

    • Element 4: Read allowed
    • Indicates whether or not records can be read in the file.
      *SAME: Keep the value currently specified in this FCT entry.
      *NOREAD: Records cannot be read. (This is the default, unless either the browse or update ability is specified.)
      *READ: Records can be read.

    • Element 5: Update allowed
    • Indicates whether or not records can be updated in the file.
      *SAME: Keep the value currently specified in this FCT entry.
      *NOUPD: Records cannot be updated.
      *UPD: Records can be updated.

  26. Journal processing (JRNCTL)
  27. Specifies the number of the journal file to be used with this file, and which READ and WRITE operations are to be journaled. This parameter is valid only for a local file, that is when the CICS system (SYSID) parameter contains *NONE.
    Possible values are:
    • Element 1: Number
    • The journal number to be used for recording READ and WRITE activity on this file. The journal number must be associated with a file through a journal control table (JCT) entry.
      *SAME: Keep the value currently specified in this FCT entry.
      journal:A journal number in the range 1 through 99. If the value specified is 0, then no journaling is to occur for the file associated with this file identifier.

    • Element 2: READ ONLY operations
    • Indicates whether or not READ ONLY operations will be journaled.
      *SAME: Keep the value currently specified in this FCT entry.
      *NOREADONLY: READ ONLY operations will not be journaled
      *READONLY: READ ONLY operations will be journaled.

    • Element 3: READ UPDATE operations
    • Indicates whether or not READ UPDATE operations will be journaled.
      *SAME: Keep the value currently specified in this FCT entry.
      *NOREADUPD: READ UPDATE operations will not be journaled.
      *READUPD: READ UPDATE operations will be journaled.

    • Element 4: WRITE NEW operations
    • Indicates whether or not WRITE NEW operations will be journaled.
      *SAME: Keep the value currently specified in this FCT entry.
      *WRTNEW: WRITE NEW operations will be journaled.
      *NOWRTNEW: WRITE NEW operations will not be journaled.

    • Element 5: WRITE UPDATE operations
    • Indicates whether or not WRITE UPDATE operations will be journaled.
      *SAME: Keep the value currently specified in this FCT entry.
      *WRTUPD: WRITE UPDATE operations will be journaled.
      *NOWRTUPD: WRITE UPDATE operations will not be journaled.

Examples

CHGCICSFCT

LIB (CICSWORK)

GROUP(ACCT)

FILEID(ACCTFIL)

RECOVER(*YES)

JRNCTL(2 *READONLY)

This command changes the FCT entry called ACCTFIL in group ACCT in OS/400 library CICSWORK. The file is now recoverable and READ ONLY operations will be journaled.

Using the DSPCICSFCT command
Flowchart

Using the DSPCICSFCT command Flowchart
Notes:

  1. All parameters preceding this point can be specified positionally.

Function
Use the Display CICS/400 File Control Table (DSPCICSFCT) command to display an FCT entry. You can only view this entry; you can neither change it nor delete it.

Optional parameters

  1. Library (LIB)
  2. Enter the name of the OS/400 library that contains the CICS/400 group.
    Possible values are:
    *LIBL: The library list is used to locate the first OS/400 library that contains the CICS/400 group.
    *CURLIB: The current library contains the CICS/400 group. If no library is specified as the current library, the QGPL library is used.
    library-name:Specify the name of the OS/400 library that contains the group.
  3. Group (GROUP)
  4. Enter the name of the group containing the required FCT entry.
    Possible values are:
    *FIRST: No group is specified. The first group found is used.
    group-name:The group name may have a maximum length of 10 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  5. CICS file (FILEID)
  6. Enter the name of the FCT entry to be displayed.
    Possible values are:
    *FIRST: Display the first FCT entry.
    *ALL: Display all the FCT entries.
    file-identifier:The file identifier may have a maximum length of 8 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
    generic*-fileid: Specify the generic name of a file identifier. A generic name is a string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all FCT entries beginning with the generic name are displayed. If an asterisk is not included with the generic name, the system assumes the value to be the complete file identifier.
  7. Location of output (OUTPUT)
  8. Enter the location of the output from the DSPCICSFCT command.
    Possible values are:
    *: The output is either displayed (if requested by an interactive job) or printed with the job spool output (if requested by a batch job).
    *PRINT: The output is printed with the job spool output.

Examples
DSPCICSFCT

LIB(CICSWORK)

GROUP(ACCT)

FILEID(*ALL)
This command displays all FCT entries located in group ACCT in OS/400 library CICSWORK.

Using the RMVCICSFCT command
Flowchart

Using the RMVCICSFCT command Flowchart
Notes:
1 All parameters preceding this point can be specified positionally.
Function
Use the Remove CICS/400 File Control Table (RMVCICSFCT) command to delete an entry from the FCT.

Required parameters

  1. Library (LIB)
  2. Enter the name of the OS/400 library that contains the CICS/400 group.
    Possible values are:
    *LIBL: The library list is used to locate the first OS/400 library that contains the group.
    *CURLIB: The current library contains the group. If no current library is specified, the QGPL library is used.
    library-name:The name of the OS/400 library that contains the group.
  3. Group (GROUP)
  4. Enter the name of the group containing the FCT entry to be deleted.
    Possible values are:
    *FIRST: No CICS/400 group is specified. The first CICS/400 group found is used.
    group-name:The group name may have a maximum length of 10 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  5. CICS file (FILEID)
  6. Enter the name of the FCT to be removed.
    Possible values are:
    *FIRST: Remove the first FCT entry.
    *ALL: Remove all the FCT entries.
    file-identifier:The file identifier may have a maximum length of 8 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
    generic*-fileid: A generic name that identifies a number of FCT entries. A generic name is a string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all FCT entries with identifiers beginning with the generic name will be removed. If an asterisk is not included with the generic name, the system assumes the value to be the complete file identifier.

Examples
RMVCICSFCT

LIB(CICSWORK)

GROUP(ACCT)

FILEID(ABC*)
This command removes all FCT entries that start with ABC and end with anything, located in group ACCT in OS/400 library CICSWORK.

Using the WRKCICSFCT command
Flowchart

Using the WRKCICSFCT command Flowchart
Notes:

  1. All parameters preceding this point can be specified positionally.

Function
Use the Work with CICS/400 File Control Table (WRKCICSFCT) command to list entries in the FCT. You can change, remove, copy, or display entries, or add new entries to the list.

Optional parameters

  1. Library (LIB)
  2. Enter the name of the OS/400 library that contains the group.
    Possible values are:
    *LIBL: The library list is used to locate the first OS/400 library that contains the CICS/400 group.
    *CURLIB: The current library contains the CICS/400 group. If no library is specified as the current library, the QGPL library is used.
    library-name:Specify the name of the OS/400 library that contains the group.
  3. Group (GROUP)
  4. Enter the name of the group containing the FCT entries to be listed.
    Possible values are:
    *FIRST: No group is specified. The first group found is used.
    group-name:The group name may have a maximum length of 10 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
  5. CICS file (FILEID)
  6. Enter the name of the FCT entry to be listed. This is also the name used to identify the file in EXEC CICS commands.
    Possible values are:
    *ALL: List all the FCT entries.
    *FIRST: List the first FCT entry.
    file-identifier:The file identifier may have a maximum length of 8 characters. The first character must be alphabetic, or one of the special characters, $, @, or #. The remaining characters can be alphanumeric or $, @, or #.
    generic*-fileid:Specify the generic name of the file identifier. A generic name is a string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all FCT entries beginning with the generic name are listed. If an asterisk is not included with the generic name, the system assumes the value to be the complete file identifier.

Examples
WRKCICSFCT

LIB(CICSWORK)

GROUP(ACCT)

This command lists all FCT entries located in group ACCT in OS/400 library CICSWORK.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM - AS/400 Topics