The ASSIGN clause associates a file with an external medium.
ASSIGN Clause - Format .-----------------------. V | (1) >>-ASSIGN--+----+----+-assignment-name-1-+-+------------------->< '-TO-' '-literal-1---------'
Any assignment-name-1 or literal-1 after the first is syntax checked, but has no effect on the execution of the program
It has the following general structure:
Format >>-device-- –file–name--+-------------+------------------------>< '- –attribute-'