I posted this problem already in the linux section but without positive result. Perhaps someone here has experienced the smae problem.
I am pretty new with writing shell scripts and trying to use a script to perform some db2 commands on a CentOS 4 system. I get a problem when I put in my shell-file 'myscript.sh' the command:
Expand|Select|Wrap|Line Numbers
- db2 -tf somefile.sql
Expand|Select|Wrap|Line Numbers
- DB21004E You cannot specify both an input file and a command when invoking the Command Line Processor.
Expand|Select|Wrap|Line Numbers
- + db2 -tf ctb2.sql $'\r'