Defining the VSAM Files in the Control Center
Files that need to be accessed must first be added to the Vsam File Control Table. Follow the instructions below to add Files to the FCT.
- Navigate in the Control Center to System Configuration → Transactions configuration → Vsam file control tab.
- Click the Add button to add a new entry in the table. The following dialog is displayed.
- Set the following fields:
- Application – the application in which the file is accessed.
- Logical name – the logical filename to use for this file in the COBOL code of the application.
- Description – the description for this file.
- PhysicalName – the physical filename of the file. If a relative name is used, the name is relative to the Extracts path as set in Basepaths configuration settings for this application.
- FileType – choose between Sequential, Relative, or Indexed.
- Max record length – the maximum record length to use in the file. If the actual record length written is larger than this value the record will be truncated.
- Min record length – the minimum record length to use in the file. If the actual record length written is less than this value the record will be appended, to the minimum length set, with spaces.
- Key length – if the File type is set to Indexed, the length of the key in characters.
- Key position – if the File type is set to Indexed, the position of the first character of the key in the record (zero based).
- Concurrency – the number of concurrent accesses allowed to the file.
- Requests (Browse, Read, Add, Update, and Delete) – If enabled, these types of requests are allowed for this file.
- Click the Ok button to add the File to the list.