Hello All,
Recently we added a sftp step to the end of a batch job. The SFTP step does a put operation on a new GDG dataset that was generated two step earlier in the job, but when we run the ftp step it never pick up the new gdg version always 1 version back. When you reran the sftp step it picks up the new gdg version without any issue.
Anyone having issues with GDG datasets?
Ftping from z/OS server to a Windows server.
Here's a copy of the ftp commands used:
lzopts loglevel=F
lzopts linerule=crlf
lzopts mode=text
lzopts NOtrim
put "//TST.PROD.S0006101.A12898(0)" "TESTFILE/Xax12898.tab"
quit
EOB
Thanks,
~Sabastian
accessing recently created gdg
Co:Z SFTP uses the BPXWDYN allocation service to dynamically allocate datasets.
I think that the problem that you are seeing may be solved by setting the "gdgnt" setting. Refer "Using REXX and z/OS UNIX System Services - SA22-7806" for more information.
To set this in the Co:Z SFTP client:
lzopts gdgnt
I think that the problem that you are seeing may be solved by setting the "gdgnt" setting. Refer "Using REXX and z/OS UNIX System Services - SA22-7806" for more information.
To set this in the Co:Z SFTP client:
lzopts gdgnt