File Processing Statements: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
 
No edit summary
Line 1: Line 1:
#REDIRECT[[:Category:File Processing Statements]]
;[[Close]] (CL)
Deactivates an open file.
 
;[[Delete]] (DEL)
Marks a specified record as unavailable.
 
;[[Open External|Open]] (OPE) external
Activates an external file for input or output.
 
;[[Open Internal|Open]] (OPE) internal
Activates an internal file for input or output.
 
;[[Read File|Read]] (REA) file
Inputs data from a record and assigns values to specified variables.
 
;[[ReRead]] (RER)
Assigns values from the last record read; must follow a successful READ or REREAD.
 
;[[Restore File|Restore]] (RES) file pointer.
Repositions the file pointer to the specified item, the next greatest item after the specified item, or the first item.
 
;[[ReWrite]] (REW)
Updates an existing record.
 
;[[Write]] (WR)
Creates or adds a new record.

Revision as of 22:07, 6 February 2013

Close (CL)

Deactivates an open file.

Delete (DEL)

Marks a specified record as unavailable.

Open (OPE) external

Activates an external file for input or output.

Open (OPE) internal

Activates an internal file for input or output.

Read (REA) file

Inputs data from a record and assigns values to specified variables.

ReRead (RER)

Assigns values from the last record read; must follow a successful READ or REREAD.

Restore (RES) file pointer.

Repositions the file pointer to the specified item, the next greatest item after the specified item, or the first item.

ReWrite (REW)

Updates an existing record.

Write (WR)

Creates or adds a new record.