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?