View previous topic :: View next topic
|
Author |
Message |
dchristensen
New User
Joined: 26 Jul 2006 Posts: 30 Location: Des Moines, Iowa
|
|
|
|
We're experimenting with trying to move long-term file archival from the mainframe to the LAN environment (Windows) to reduce costs. I can move fixed block files and smaller variable blocked files back and forth without issue. Note that we could have the need to move files back to the mainframe in order to execute recovery jobs, etc.
My problem comes when I try to FTP a large file back to the mainframe. If I just execute the command line FTP from my workstation, the transfer fails because I'm not able to set up the proper catalog entries needed to allocate enough space.
Does anyone know how to perform a workstation generated FTP operation that allocates appropriate space catalog entries on the mainframe?
Note that I've also tried to use the Micro Focus Drag N'Drop tool that is part of the Mainframe Access tools Micro Focus provides. While I can allocate the file, the Drag N Drop of the file from the LAN to the mainframe fails. Thus far, I haven't been able to use the tool to move the file.
For background information, the file DCB information is:
VB
LRECL = 15830
BLKSIZE=27998
TRK=35000 |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
You could either preallocate the data set before the FTP, or use QUOTE SITE to set the primary and secondary space allocations for the data set. |
|
Back to top |
|
|
dchristensen
New User
Joined: 26 Jul 2006 Posts: 30 Location: Des Moines, Iowa
|
|
|
|
I was going to report that I'd discovered that the IBM FTP server allowed extensions to the SITE command (through use of QUOTE) that allow you to set record format, block size, record length, etc. THis material is located at:
publibz.boulder.ibm.com/epubs/pdf/f1a1b970.pdf
Thanks again, Robert. |
|
Back to top |
|
|
dchristensen
New User
Joined: 26 Jul 2006 Posts: 30 Location: Des Moines, Iowa
|
|
|
|
I did try pre-allocating the dataset, but could not seem to get that to work. Not sure what I was not doing correctly, but the QUOTE SITE syntax worked out great. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear you got it working, then! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thanks for letting us know
Quote: |
I did try pre-allocating the dataset, but could not seem to get that to work. |
If you explain why this did not work, someone may be able to offer a suggestion.
So far, i've not had a correctly pre-allocated file fail. . . |
|
Back to top |
|
|
|