Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

BS2000 file processing

&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
Stream I/O

Binary file
Stream I/O

Binary file
Record I/O

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.