I wrote a script for a client.. short.. that would source a file to set
variables for sleep time number of tries file it was getting and data said
it was going to eventually end up in.

It worked pretty well.

Rob Schramm

On Thu, Feb 6, 2020, 13:22 Paul Gilmartin <
[email protected]> wrote:

> On Thu, 6 Feb 2020 09:39:20 -0600, Ron Thomas wrote:
>
> >this is what we use here ,so how is this we need to handle ?
> >
> >//STEP02   EXEC PGM=BPXBATSL,REGION=0M,
> >//             PARM='PGM /usr/lpp/ssh2/bin/sftp2
> >//             -B //DD:BATCHIN'
> >
> Don't you need a continuation mark in column 72?  Is this copied from
> what you're actually trying?
>
> I'll suggest:
>     ...
> //  SET SFTP='/usr/lpp/ssh2/bin/sftp2'
> //STEP02   EXEC PGM=BPXBATSL,REGION=0M,
> //             PARM='SH -c ''&SFTP -B //DD:BATCHIN''; true'
>     ...
> >//SYSTSPRT DD  SYSOUT=*
> >//STDOUT   DD  SYSOUT=*
> >//STDENV   DD  DSN=SYS1.TECSSH.PARMLIB(SSHENV),DISP=SHR
> >_BPXK_AUTOCVT=ON
> >_BPX_SHAREAS=NO
> >_BPX_BATCH_UMASK=0022
> >SSH_DEBUG_FMT="%W(72)(2) %Dd/%Dt/%Dy %Dh:%Dm:%Ds:%Df %m/%s:%n:%f %M"
> >_BPXK_JOBLOG=STDERR
> >_EDC_ADD_ERRNO2=1
> >//*
> >//BATCHIN  DD  DSN=J01.MKS.IT057.STORE.FILE.ONE.FTPCNTL,DISP=SHR
>
> -- gil
>
> ----------------------------------------------------------------------
> 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