Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to convert VSAM to flat file

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to convert VSAM to flat file
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jan 27, 2011 10:21 pm    Post subject: Reply to: How to convert VSAM to flat file
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    Post subject: Reply to: How to convert VSAM to flat file
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Jan 27, 2011 10:39 pm    Post subject: Reply to: How to convert VSAM to flat file
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.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us