Visible to Intel only — GUID: GUID-39F0B7F6-3CAD-4CB8-A2E8-E2D94E3A4063
Visible to Intel only — GUID: GUID-39F0B7F6-3CAD-4CB8-A2E8-E2D94E3A4063
Data Transfer I/O Statements
Input/Output (I/O) statements can be used for data transfer, file connection, file inquiry, and file positioning.
This section discusses data transfer and contains information on the following topics:
Data transfer input statements:
Data transfer output statements:
-
Data can be output to external sequential or direct-access records, or to internal records.
PRINT and TYPE
The PRINT statement is the same as a formatted, sequential WRITE statement, except that the PRINT statement must never transfer data to user-specified I/O units.
TYPE is a synonym for PRINT. All forms and rules for the PRINT statement also apply to the TYPE statement.
-
It rewrites the current record and it can be formatted or unformatted.
-
File connection, file inquiry, and file positioning I/O statements are discussed in File Operation I O Statements.