IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How Can I FTP A VSAM File to Local Drive..???


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhim_s

New User


Joined: 19 Sep 2006
Posts: 46
Location: Australia

PostPosted: Tue Feb 13, 2007 4:08 pm
Reply with quote

Hi!

Can anyone suggest me ... How can I FTP VSAM Files to local drive?

Bhim
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 4:14 pm
Reply with quote

I would think you will have to unload it to a sequential file first.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Feb 13, 2007 10:53 pm
Reply with quote

Hello,

If you run an IDCAMS/Repro you can create a sequential file that will easily download.

If your vsam file contains packed decimal or binary data you will need to reformat your sequential file to edited zoned decimal. If you are downloading it to a pc or unix you may also need to create a "delimited" file for use on the target platform.

An easy to do this is to write a program that reads the vsam file and creates the output in a downloadable format. The program is bacically a vsam read, some moves (one for each field), and a write to a qsam output file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top