./db2topg.pl command giving error
Hi Team,
I am using db2topg on Windows server. i am running these commands on cmd by connecting to db2. I ran the first command and it worked perfectly fine. db2look -d DB_Name -e -l -xd -o file_name -i user_name -w pass
When i ran second command on same it is giving error. ./db2topg.pl -f my_db2_sql_script -o my_output_dir -d db2_dbname -u db2_user -p db2_pwd
'.' is not recognized as an internal or external command, operable program or batch file.
I tried below given command as well and it also gave error. db2 ./db2topg.pl -f my_db2_sql_script -o my_output_dir -d db2_dbname -u db2_user -p db2_pwd
DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0104N An unexpected token "./" was found following "BEGIN-OF-STATEMENT". Expected tokens may include: "
Could anyone suggest on this.
Thanks, Aayush
db2topg not work on windows