DISK I/O Instructions
Through disk input/output instructions, information or data is stored and retrieved as logical records within files on the disk. Though PL/B files default to 256-byte sectors, the sector size may be modified by using the BUFFER or FIX{ED} parameters when they are declared in the User Data Area (UDA). PL/B records may span more than one sector and a sector may contain more than one record. Refer to the File Definition section for more information on declaring an appropriate sector size through usage of the BUFFER or FIX{ED} parameters.
The Sunbelt runtimes support 64 bit file I/O. This allows processing of files larger than 4GB by the PL/B disk I/O language statements within the operating system limits. Windows 98/ME only supports files of 2GB or smaller.
The following topics relate to Disk I/O:
|
Overview of disk file structures. | |
|
Overview of disk file record structures. | |
|
Overview of disk file accessing methods. | |
|
An explanation of the file and record locking techniques. | |
|
Discussion of character string handling in Disk I/O instructions. | |
|
Discussion of numeric variable handling in Disk I/O instructions. | |
|
Overview of Partial I/O in Disk I/O instructions. | |
|
Definition of the End of File and End of Record marks. | |
|
Explanation of List Controls used in Disk I/O. | |
|
An explanation of the RMS Remote Access Server support. | |
|
An explanation of the Data Manager and Managed File support. | |
|
An description of Sunbelt's simplified disk IO support. | |
|
An description of Sunbelt's transaction support. | |
|
An description of version 8.7 file format support. | |
|
A guide to name-based IO. | |
|
Tips to using the SQLITE Date and Time functions in your program. | |
|
Windows Drive Substitution |
An explanation of the drive letter substition mechanism. |
|
An explanation of the READ cancellation mechanism. | |
|
|
|
|
Execute a BTRIEVE function. | |
|
Close a disk file. | |
|
Retrieve the number of keys in an ISAM file between a starting and ending value inclusively. | |
|
Delete a record from a disk file. | |
|
Delete a duplicate record from an ISAM disk file. | |
|
Delete a duplicate ISAM key. | |
|
Delete an ISAM key. | |
|
Delete a file from disk. | |
|
Perform file I/O functions on a file. | |
|
Lock specified files. | |
|
Filter records. | |
|
Retrieves file and directory names. | |
|
Locates and retrieves statistical data about a file. | |
|
Force directory information to disk. | |
|
Compatibility instruction - no action performed. | |
|
Retrieve the current position of the file pointer. | |
|
Retrieve the current position of the AAM file index. | |
|
Retrieve the beginning position of the current record. | |
|
Retrieve the record position following the last byte accessed. | |
|
Retrieve information from a file definition variable. | |
|
Invoke the standard file open or prep dialog. | |
|
Insert a key into an AAM or ISAM file. | |
|
Initialize a disk file for access. | |
|
Position the file pointer to the end of file. | |
|
Create or open a disk file. | |
|
Setup default strings for a standard file prep dialog. | |
|
Retrieve information from disk into variables. | |
|
Return the key associated with the last indexed record accessed. | |
|
Retrieve subsequent key matching records from an AAM file. | |
|
Re-read AAM file records in reverse order. | |
|
Read ISAM files in descending (reverse) key sequence order. | |
|
Read ISAM file in ascending (forward) key sequence order. | |
|
Read the last matching record of an AAM file. | |
|
Change the name of a disk file. | |
|
Reposition the file pointer to a specified value. | |
|
Execute operations specialized to the runtime schema support. | |
|
Updates information in a file definition variable. | |
|
Input or output data using file redirection. | |
|
Group file IO operations. | |
|
Unlock all specified files. | |
|
Partially or completely update an ISAM or AAM record. | |
|
Establish the end of file at the position indicated. | |
|
Write data to a specific location in a sector. | |
|
Transfer variables to a disk file. |
![]() |