FILE

Examples

To run the program MYPROG that does the follo wing:

references two ￿les by the ￿le names ( formaldesignators ) SOURCE and DEST

uses two existing disk ￿les, INX and OUTX, as the actual ￿les for the program

Enter:

:FILE SOURCE=INX

:FILE DEST=OUTX

:RUN MYPROG

To send output to a new ￿le, FILEX, that has 64-w ord ￿xed-length records and two records per bloc k in ASCII code, enter:

:FILE DEST=FILEX,NEW;REC=64,2,F,ASCII

:RUN MYPROG

Note that the ￿le equation only modi￿es the speci￿ed items.

Related Commands

BUILD

LISTEQ

RESET

MPE/iX Commands 2-81