1.

Solve : Batch file hangs if I don't specify output file?

Answer»

I have a batch file which runs from a JAVA UI. The batch file calls various commands. I get to a certain point and run the FOLLOWING command (a DB2 command):

asnclp -f %IWDA_DIR%\tmp\rep.sql >> %IWDA_DIR%\log\rep.log

This runs fine, however, I want to REMOVE the >> $IWDA_DIR\log\rep.log part since this command outputs plain text passwords.  When I remove that part, giving:

asnclp -f %IWDA_DIR%\tmp\rep.sql

The batch file just hangs at this point.  When I KILL the JAVA UI which is calling this batch file, it finishes.  Any idea why specify the output makes the DIFFERENCE and how I can OVERCOME this problem?
www-306.ibm.com/software/data/dpropr/db2cp.pdf -



Discussion

No Comment Found