problem with running export utility for db2 from perl.

2002-10-18 Thread Naveen Prabhakar
Hi, I am unable to execute a db2 export command this way. @conn_command = ("db2 connect to gtbookdb"); $output = `@conn_command 2>&1`; @exp_command = ( "db2 export to $textfile of del select \* from","$table_name"); $output = `@exp_command 2>&1`; error says the connection not available.

Re: problem with running export utility for db2 from perl.

2002-10-18 Thread Michael A Chase
On Thu, 17 Oct 2002 13:05:54 -0700 (PDT) Naveen Prabhakar <[EMAIL PROTECTED]> wrote: > I am unable to execute a db2 export command this way. > > @conn_command = ("db2 connect to gtbookdb"); > $output = `@conn_command 2>&1`; > > @exp_command = ( "db2 export to $textfile of del > select \* fr