Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
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: 8165
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us