sftp 1216: FSUM7332 syntax error: got ), expecting Newline
I've created a 'batch' file for sftp in REXX and have used the address syscall writefile
to write out the data to the file.
the sftp is invoked using bpxwunix thus: sftp -b batchfile userid@host
The file is created thus:
stdin = workdir'/'sysvar('sysuid')'.sftp.stdin'
out.1 = 'put' workdir'/'filename
out.2 = 'quit'
out.0 = 2
address syscall 'writefile (stdin) 700 out.'
I tried to add '25'x
at the end of each stem line without success.