To enable a file to be processed by a program, it must be possible to set up a connection between the two. This connection can either be defined in the FCB or, if the program uses an internal file name (the file link name), be established using the FILE macro. The connection is stored together with other information in the task file table (TFT). File processing is thus controlled via the TFT.
For NK-ISAM files, file processing control also incorporates the management of user ISAM pools, in which these files are processed. The user can also use standard ISAM pools of the system, but then has no influence on pool size or reservation.
Macros
Macro | Operands | Brief description |
---|---|---|
ADDPLNK | Assigns a pool link name to a user ISAM pool. | |
CHNGE | Assigns a new file link name to a file. | |
CREAIX | Creates a secondary key (alternate index) for an ISAM file. | |
CREPOOL | Creates a user ISAM pool. | |
DELAIX | Deletes secondary indices of an ISAM file. | |
DELPOOL | Deletes a user ISAM pool. | |
DROPTFT FCB | Unlocks a locked TFT entry. | |
FILE | Defines a fixed link between file and program. | |
LINK | Defines a file link name in the program. | |
POOLLNK | Sets up a connection to a user ISAM pool. | |
FILE | LINK | Creates a TFT entry; further operands describe file and processing attributes. |
BLKCTRL | Defines the file format. | |
NFTYPE | Defines the file type of a file on Net-Storage (BS2000 file or node file) | |
POOLLNK | Sets up a connection to a user ISAM pool. | |
RDTFT | Displays TFT information. | |
RELTFT | Deletes a TFT entry. | |
REMPLNK | Deletes the pool link name. | |
SHOPLNK | Shows assignments of pool link names to ISAM pools. | |
SHOPOOL | Returns information on the attributes and occupancy of ISAM pools. |
Commands
Command | Operands | Brief description |
---|---|---|
ADD-FILE-LINK | Creates a TFT entry; further operands describe file and processing attributes. | |
BLOCK-CONTROL-INFO | Defines the file format. | |
POOL-LINK | Sets up the connection to the ISAM pool. | |
EDIT-FILE-LINK | Activates the guided dialog of the ADD-FILE-LINK command and enables an existing TFT entry to be "edited". | |
SHOW-FILE-LINK | Displays TFT information. | |
CHANGE-FILE-LINK | Assigns a new file link name to a file. | |
LOCK-FILE-LINK | Locks a TFT entry, thus inhibiting any REMOVE-FILE-LINK command. | |
UNLOCK-FILE-LINK | Cancels the lock (LOCK-FILE-LINK) for the TFT entry. | |
REMOVE-FILE-LINK | Deletes a TFT entry. | |
CREATE-ISAM-POOL | Creates a user ISAM pool. | |
SHOW-ISAM-POOL-ATTRIBUTES | Displays information on the attributes and usage of ISAM pools. | |
DELETE-ISAM-POOL | Deletes the user ISAM pool. | |
ADD-ISAM-POOL-LINK | Assigns a pool link name to a user ISAM pool. | |
REMOVE-ISAM-POOL-LINK | Deletes the pool link name. | |
SHOW-ISAM-POOL-LINK | Shows assignments of pool link names to ISAM pools. | |
START-CACHING-FILES | Starts caching of open files | |
STOP-CACHING-FILES | Terminates caching of open files |