next up previous contents index
Next: INGRATE--Converting to INGRES from Up: Getting Data into a Previous: INGLIB--The FORTRAN Interface to

IFILE_IN--Converting a Data File to an INGRES Table

Binary Files
Methods for copying data in binary files are documented in:
    $ HELP INGRES HOW_TO_LOAD_FILES
ASCII files
The utility IFILE_IN can be used to convert simple ASCII data files into INGRES tables. The format of the file must be as follows:
row 1 list of column names
row 2 list of INGRES formats
row 3 to 2+n n columns of data
for example,
SHOT TE PNB TYPE
I4 F4 F4 C20
32003 1.92 12.66 good
32115 2.11 13.00 bad
. . .
. . .
. . .
32937 2.60 10.92 nice
Type $ IFILE_IN and follow the instructions.



Marilee Thompson
Fri Jul 11 17:05:56 EDT 1997