Re: Pipe Command
Posted in 1998
Assuming that your INFORMIX table already exists, all you need to do is
insert the data into the table using the INFORMIX insert command.
$ char FIELD1[6];
$ char FIELD2[3];
$ int FIELD3;
$ int FIELD4;
FIELD1 = btrieve1;
FIELD2 = btrieve2;
FIELD3 = btrieve3;
FIELD4 = btrieve4;
$ insert into TABLE values($FIELD1,$FIELD2,$FIELD3,$FIELD4);
Nick Leporacci
-----Original Message-----
Jim Mershon wrote in message <6gitv6$kgl$1@news.xmission.com>...
>
>Hi All,
> I'm new at using ESQL/C and need some help. Can anyone explain how
>to use a pipe command to move data from a btrieve database to an informix
>database? What I do in c is move each record from btrieve and convert them
>to strings. Some told me to use the pipe command from that point on to move
>the records to informix. Really could use some help on this.
>
>Thank You
>Jim Mershon
>shenango@shenango.com
>
>
>