Planning for redirecting files

Table 8 summarizes valid file redirections.

To use this chart, identify the file type that you want to override in the FROM-FILE columns, and the file type that you want to override in the TO-FILE column. The intersection specifies an I or O or both; this means that the substitution is valid for these two file types when used as input files or as output files.

For instance, you can override a diskette output file with a tape output file, and a diskette input file with a tape input file. The chart refers to file type substitutions only. That is, you cannot change the program function by overriding an input file with an output file.

Table 8. File Redirections
To-File From-File
Printer intersystem communications function (ICF) Dis- kette Display Data- base Tape
Printer O* O O O O O
ICF   O   I/O O I   O I I/O O I   O I   O I
Diskette   O   O I O I O I O I O I
Display       O   I/O O I   O I I/O O I   O I   O I
Database   O   O I O I O I O I O I
Tape   O   O I O I O I O I O I
  • I=input file O=output file I/O=input/output file
  • *=redirection to a different type of printer


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]