My understanding of the OP's original question was about receiving
message EZA2553W when attempting a PUT command with the localfile name
specified as a GDG(+1). I assume his job went something like this:
STEP A - Create SYP.TEST.FILE(+1)
Result - IGD107I SYP.TEST.FILE.G0014V00 ROLLED IN
STEP B - FTP with command PUT 'SYP.TEST.FILE(+1)' test.txt
Result - EZA2553W Unable to send SYP.TEST.FILE.G0015V00
The G00V00 numbers show the problem. Either specify (0) for the PUT or
use the DD reference form of the command, as others have mentioned.
Greg Shirey
Ben E. Keith Company
-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of David Purdy
Sent: Friday, May 28, 2010 10:37 AM
To: [email protected]
Subject: Re: ftping a gdg from the z box
I often placed (+1) GDGs on Win servers for PDFs, accounting data, bank
deposit/transfer, payroll deduction, etc.
Yes, the FTP step could have been a separate job using a (0) generation,
but not mandatory. I used the correct combination of DISPs and
sometimes IFs in the JCL to keep the GDG if the FTP step failed. An FTP
failure was normally not enough to stop the rest of the production
jobstream from releasing. It was sometimes hit and miss if the Win
server was available, especially across the country.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html