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

How to convert VSAM to flat file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
afroz alam

New User


Joined: 02 Jul 2007
Posts: 13
Location: India

PostPosted: Thu Jan 27, 2011 10:19 pm
Reply with quote

I want to convert VSAM file to PS file. The record size of VSAM file is 60520. When i tried to convert this through JCL (using IDCAMS) by providing DCB parameter (LRECL=60520,RECFM=VB,BLKSIZE=0), it gives JCL error saying 'LRECL is too large'. I think it is because of LRECL should be max of 32768.

Can we do this through any programs or utility? How to convert VSAM of recordsize 60520 into PS File?

As per Z/OS, there is limitation of LRECL to 32K.

I have seen so may documents for this, all are mentioned this through IDCAMS but their record size was less. so there was no problem. But nowhere mentioned if the record size is bigger, then how to convert.

Thanks for the help in advance.

Thanks
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Jan 27, 2011 10:21 pm
Reply with quote

This looks very familiar.

Is this a recent double post?

Bill
Back to top
View user's profile Send private message
afroz alam

New User


Joined: 02 Jul 2007
Posts: 13
Location: India

PostPosted: Thu Jan 27, 2011 10:26 pm
Reply with quote

Hi Bill O'Boyle

Yes, this is double post. By mistake i post this in Assembler section..But now thinking it may be useful in JCL. So thought of posting in JCL also.

Sorry for inconvenience.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jan 27, 2011 10:39 pm
Reply with quote

Quote:
But now thinking it may be useful in JCL

NO... is just doubly useless icon_evil.gif

when designing the application somebody must certainly have researched
the consequences of using spanned records.
( looks like not uh? )

so You/Your organization will have to live with it, or redesign the whole shebang!

the only way out of it (as it is now) as already said in the other post
is to analyze the record structure and write a program to do a <logical> deblock/split of the records in chunks smaller than 32k

no <jcl> will complete the task You are trying to achieve
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. 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 3
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