How to FTP a VSAM ESDS file to a PC



How to FTP a VSAM ESDS file to a PC

Postby DThomas314 » Fri Oct 22, 2010 7:00 pm

Anyone know how to FTP a VSAM ESDS file to a PC? The dataset that I need to transfer had to be created as a VSAM ESDS because some of the records are longer than the 32K limit allowed in COBOL for variable records. The file is an check image deposit file with records that have check images in them that have binary data that can be up to 200K in length.
DThomas314
 
Posts: 2
Joined: Fri Oct 22, 2010 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to FTP a VSAM ESDS file to a PC

Postby Robert Sample » Fri Oct 22, 2010 7:12 pm

From the Comm Svr: IP User's Guide and Commands manual
LS lists entries only for data sets and file types that FTP can process (see Appendix A, "Specifying data sets and files" in topic A.0 for a list). GDG base, VSAM, and ATL library entries are among the types not included in the LS output. See "DIr subcommand--Obtain a list of directory entries" in topic 5.18 to list entries for all types of data sets or files.
Since VSAM files (which would include ESDS of course) are not listed by the LS command, the implication is that FTP cannot handle VSAM files. Which, since VSAM files have structure as well as data, makes a lot of sense -- other platforms would not be able to deal with the structure. I do not believe you will be able to use FTP to directly transfer any VSAM file.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: How to FTP a VSAM ESDS file to a PC

Postby NicC » Fri Oct 22, 2010 8:15 pm

You could, of course, REPRO to a flat file and send that. But I do not know what limits FTP has on record lengths.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: How to FTP a VSAM ESDS file to a PC

Postby DThomas314 » Fri Oct 22, 2010 9:12 pm

REPRO doesn't seem to work with these long record lengths. Chopping the record up into multiple VB or VBS records seems to just end up embedding record lengths(record descriptors) where they don't belong in the middle of the image data.
DThomas314
 
Posts: 2
Joined: Fri Oct 22, 2010 6:53 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Off-Topics

 


  • Related topics
    Replies
    Views
    Last post