sftp via psftp to JES internal reader
sftp via psftp to JES internal reader
Is it possible to submit a job via psftp to the JES internal reader?
Thank you for asking - when I tested it I found that we had introduced a bug in the handling of SYSOUT-related keywords that currently prevents this from working. I've fixed the code, and hope to release it soon.
You will then be able to submit JCL into the internal reader by uploading a file to "SYSOUT" with writer=INTRDR.
For example:
This same technique can also be used to print files via SFTP. Any of the "SYSOUT" related keywords listed here can be used to control your output:
http://dovetail.com/docs/sftp/using.htm ... ts_bpxwdyn
I'll post a response to this thread when the fix is available.
You will then be able to submit JCL into the internal reader by uploading a file to "SYSOUT" with writer=INTRDR.
For example:
Code: Select all
c:\>psftp kirk@zos
Using username "kirk".
kirk@zos's password:
Remote working directory is /u/dovetail/kirk
psftp> ls /+mode=text,sysout=a,writer=intrdr,recfm=fb,lrecl=80
Listing directory /+mode=text,sysout=a,writer=intrdr,recfm=fb,lrecl=80
mode=text
lrecl=80
recfm=fb
sysout=a
writer=intrdr
psftp> put jcl.txt //SYSOUT
local:jcl.txt => remote://SYSOUT
psftp>
http://dovetail.com/docs/sftp/using.htm ... ts_bpxwdyn
I'll post a response to this thread when the fix is available.