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

Variable length VSAM file to flat file


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

New User


Joined: 20 Nov 2008
Posts: 13
Location: bangalore

PostPosted: Wed Mar 04, 2009 10:30 am
Reply with quote

Hi all,

We have a variable length VSAM file which is to be copied to a sequential dataset.If we do this using IDCAMS utility, what will be the record length of the flat file? Will there be any loss of data if the VSAM is a variable length file when it is copied to flat file?

If so, can anyone suggest a solution for this?

Regards
Neena
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: Wed Mar 04, 2009 10:35 am
Reply with quote

Hello and welcome to the forum,

"Flat" files (qsam) may also be variable length. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Mar 04, 2009 5:46 pm
Reply with quote

The record length of the flat file will depend on the longest record length in the VSAM file (use LISTCAT output to find it). Unless there's an error during the copy process, there will not be any data loss going from VSAM to a flat 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 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
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
Search our Forums:

Back to Top