Page 1 of 1

FTP error.

Posted: Tue Sep 30, 2014 2:16 pm
by mainframe5
Hi

When I try FTP to a newly cretaed mainframe GDG for the first time, I get the following error:

Code: Select all

Verbose mode on.
200 Representation type is Ebcdic NonPrint
200 Port request OK.
550-SVC99 Return code=4 S99INFO=0 S99ERROR=38668 HEX=970C S99ERSN code X'00004379').
550 Unable to create data set abcd.xx.a1234.Y2014.G0001V00 for STOR command.
221 Quit command received. Goodbye.
when i am running the same script a number of times it is successfully ftping to MF GDG.

Why would this happen, please guide.

Re: FTP error.

Posted: Tue Sep 30, 2014 5:29 pm
by Robert Sample
A GDG consists of generations and the base. If a new generation is being created, the base is locked until that process is complete -- to prevent consistency issues with the same generation being created multiple times. If you attempt to FTP and create a new generation of the GDG while the base is locked, you'd get the type of error you showed. Whether or not that is the specific problem I don't know -- you'd need to consult your site support group for assistance.

Re: FTP error.

Posted: Wed Oct 01, 2014 11:28 am
by mainframe5
Thanks Robert. I'm working on it and if I solve it will let you know.