CIS133C CLASS 5
PROGRAM STATEMENTS . . .
- The OPEN makes a file available to the program.
- The CLOSE statement closes a file so that it is no longer available for processing by the program.
- The READ makes a record available to the program for processing.
- The WRITE statement writes or puts a record to an output file.
- STOP RUN terminates the program and returns control to the operating system. Don't forget it!
- MOVE copies the contents of a field or literal to a field.
- Other program statements to be covered later include PERFORM, IF/ELSE, ADD and other arithmetic statements, and EVALUATE.
HTML help from . . .
Thanks to . . .
|