Hello Jack,
I run JCL with your suggestion and this time I am getting below error.

/SFTP001 JOB ACCT,NAME,CLASS=A,MSGCLASS=A,NOTIFY=&SYSUID

//SFTP     EXEC PGM=IKJEFT01,REGION=0M

//SYSTSPRT DD   SYSOUT=*

//SYSEXEC  DD   DISP=SHR,DSN=SYS1.SBPXEXEC

//SYSTSIN  DD   *

OPUT 'IBM08.TEST.DATA' '/u/ibm08/test'

OSHELL { echo 'passwd'; +

         echo 'cd /tmp'; +

         echo 'ascii'; +

         echo 'put /home/ibm08'; } | +

       sftp -b -v [email protected]







Error is



FOTS0806 EDC5129I No such file or directory. (errno2=0x05620062) (-v)

I have checked all required file and directories are present to run this JCL

Please suggest.

On Dec 7, 2016 10:50, "Jack J. Woehr" <[email protected]> wrote:

> Jack J. Woehr wrote:
>
> OOPS mistake should be this:
>
>
>     sftp -b - -v [email protected]
>
> Note the "-" after the "-b" before the "-v"
>
> I did it right below \/\/\/\/\/\/
>
>>
>> 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
>

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

Reply via email to