venkat kulkarni wrote:

Venkat ... in this part of the JCL:
OSHELL { echo 'password'; +
>          echo 'cd /tmp'; +
>          echo 'ascii'; +
>          echo 'put/tmp/SOME.FILE.NAME <http://some.file.name/>'; } | +
>        sftp [email protected]

Try changing the last line to this:

   sftp -b -v [email protected]

The "-b - " tells sftp to read in batch mode from standard in. That might work.

--
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to