Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Can I execute .bat ,sql file with DB2 command on Linux?

Can I execute .bat ,sql file with DB2 command on Linux?
I have first bat file like this
"db2cmd db2 -tf ITSOWSAD.ddl"
and in "ITSOWSAD.ddl" like this this
"CONNECT TO ITSOWSAD;
CREATE TABLE ITSO.AAPARTS
(PARTNUMBER CHARACTER(10) NOT NULL, ......"
in DB2 on linux not found "db2cmd" command

what command should I use instead or modify bat ,sql file ?

Thank in adavance
[415 byte] By [Harry] at [2007-11-9 18:52:19]