Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP EBCDIC files to mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
dchristensen

New User


Joined: 26 Jul 2006
Posts: 30
Location: Des Moines, Iowa

PostPosted: Fri Sep 11, 2009 6:39 pm    Post subject: FTP EBCDIC files to mainframe
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Sep 11, 2009 7:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dchristensen

New User


Joined: 26 Jul 2006
Posts: 30
Location: Des Moines, Iowa

PostPosted: Fri Sep 11, 2009 11:47 pm    Post subject: Thank you. Here's more information, too.
Reply with quote

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:

http://publibz.boulder.ibm.com/epubs/pdf/f1a1b970.pdf

Thanks again, Robert.
Back to top
View user's profile Send private message
dchristensen

New User


Joined: 26 Jul 2006
Posts: 30
Location: Des Moines, Iowa

PostPosted: Fri Sep 11, 2009 11:48 pm    Post subject: Note
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Sep 11, 2009 11:50 pm    Post subject:
Reply with quote

Glad to hear you got it working, then! icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Sep 12, 2009 12:21 am    Post subject: Reply to: FTP EBCDIC files to mainframe
Reply with quote

Good to hear it is working - thanks for letting us know icon_smile.gif

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us