Saturday, September 5, 2009

FILE-CONTROL

FILE-CONTROL


This paragraph is used to associate the files to be used in the program with specific I/O devices. For example:


FILE-CONTROL.


SELECT PRINTER-FILE


ASSIGN TO SYS015-UR-1403-S.


In the example, PRINTER-FILE is the name of the file to be used throughout the program. SYS015-UR-1403-S is a system name, which will be used to link the file to something in the operating system. The method of such connection varies from system to system