Loading...
Select Version
&pagelevel(4)&pagelevel
Besides POSIX files, the following types of files can be processed with the I/O functions of the Common Runtime Environment CRTE:
the BS2000 system files SYSDTA, SYSOUT and SYSLST
cataloged disk files with access methods SAM, ISAM and PAM
temporary PAM files (INCORE).
In C-BS2000, a distinction is made between binary files and text files on one hand, and between stream-oriented and record-oriented I/O on the other.
The following table shows the possible combinations in which the various file types can be processed:
Text file | Binary file | Binary file | |
System files | X | ||
INCORE | X | ||
SAM | X | X | X |
ISAM | X | X | |
PAM | X | X |
A maximum of 256 files (including stdin
, stdout
and stderr
) may be open at one time.