Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch file hangs if I don't specify output file  (Read 3792 times)

0 Members and 1 Guest are viewing this topic.

Eric Poulin

  • Guest
Batch file hangs if I don't specify output file
« on: August 09, 2004, 01:08:57 PM »
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?

merlin_2

  • Guest
Re: Batch file hangs if I don't specify output fil
« Reply #1 on: August 09, 2004, 01:32:19 PM »
www-306.ibm.com/software/data/dpropr/db2cp.pdf -