dalibo/db2topg

Issues in db2topg.pl

diwathenettai opened this issue · 1 comments

Hi,

I am getting the below errors when I invoke the db2topg.pl

dwdev@hitdwdev01:dwdev:$ ./db2topg.pl -f my_db2_sql_script -o my_output_dir -d dwdev -u test -p test
./db2topg.pl[7]: syntax error at line 8 : newline or ;' unexpected dwdev@hitdwdev01:dwdev:$ dwdev@hitdwdev01:dwdev:$ dwdev@hitdwdev01:dwdev:$ dwdev@hitdwdev01:dwdev:$ dwdev@hitdwdev01:dwdev:$ dwdev@hitdwdev01:dwdev:$ ././db2topg.pl ././db2topg.pl[7]: syntax error at line 8 : newline or ;' unexpected
dwdev@hitdwdev01:dwdev:$ db2topg.pl
db2topg.pl[7]: syntax error at line 8 : `newline or ;' unexpected
dwdev@hitdwdev01:dwdev:$

Our server is an AIX box and any help on this is appreciated.

Regards,
K.Diwakar

Looks like the file was saved by doing a right click and the contents of the script were not as expected.
Resolved this by downloading the zip file.
Looks like this is an issue that the website should address....
Thank you for looking up.