RE: Pulling data out of informix tables
Posted in 1997
To download any data from the tables you could use dbaccess/isql and then
run a query which will download to ASCII format using :
UNLOAD to file_name select * from table_name;Munaf
g086mnf@bomplant3.appl.ge.com
----------
From: informix-list-owner[SMTP:informix-list-owner@rmy.emory.edu]
Sent: Monday, January 13, 1997 5:18 AM
To: informix-list
Subject: Pulling data out of informix tables
On of my clients has an old informix SCO based application. They have no
support for this application and need to move to another system. I need
to
pull data from these tables into any kind of ASCII file that I can
convert
to the file system used by their new system. I am a UNIX cripple and
basically can list files and view text files with a text editor. Is there
command line access to the informix engine which allows SQL manipulation
of
data files. What format are result sets put into and how can you make
them
so that they are accessible from the UNIX command line (i.e.. files).
Wayne Regier
Intuitive Solutions
The following binary file has been uuencoded to ensure successful
transmission. Use UUDECODE to extract.
begin 600 WINMAIL.DAT
M>)\\^(B@(`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V`!``"`````0`!``$$
M@`$`*````%)%.B!0=6QL:6YG(&1A=&$@;W5T(&]F(&EN9F]R;6EX('1A8FQE
M<P`:#@$%@`,`#@```,T'`0`-``X`&0`E``$`+P$!((`#``X```#-!P$`#0`.
M`!4`-P`!`#T!`0F``0`A````-C0R-40X,T(T,#9$1#`Q,4)!0S0P,$$P,C1#
M1$0Q,$4`&`<!`Y`&`#P%```0````"P`C```````#`"8``0````L`*0``````
M`P`V``````!``#D`P"FPBR\\!O`$>`'```0```"@```!213H@4'5L;&EN9R!D
M871A(&]U="!O9B!I;F9O<FUI>"!T86)L97,``@%Q``$````6`````;P!+XN?
M.]@E;&U`$="ZQ`"@),W1#@```P`&$#XUP7@#``<0.@,``!X`"!`!````90``
M`%1/1$]73DQ/041!3EE$051!1E)/351(151!0DQ%4UE/54-/54Q$55-%1$)!
M0T-%4U,O25-13$%.1%1(14Y254Y!455%4EE72$E#2%=)3$Q$3U=.3$]!1%1/
M05-#24E&3U)-050``````@$)$`$```#G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