Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

File processing

&pagelevel(2)&pagelevel

The following types of files can be processed with the input/output functions of the C runtime system:

  • 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 the one hand and between stream and record-oriented input/output on the other (see also section “Basicterms”).

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

Up to 2048 files (including stdin, stdout and stderr) can be open at the same time.