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

Maximun LRECL of VB file


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

New User


Joined: 21 May 2007
Posts: 7
Location: Chennai

PostPosted: Thu Aug 14, 2008 10:02 am
Reply with quote

Hello,

Whats the maximum allowable LRECL of a variable length(VB) file..?

We can use the FB file to store maximum of 24K length record.

I need to use some file to store more than 15Million characters in a single record. Is it possible..? Please advice..?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Aug 14, 2008 10:23 am
Reply with quote

LRECL Parameter from the z/OS V1R9.0 MVS JCL Reference.

Spanned Format-VS Records (Sequential Access Method) from the z/OS V1R7.0 DFSMS Using Data Sets guide.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Aug 14, 2008 7:27 pm
Reply with quote

MChandrasekar wrote:
We can use the FB file to store maximum of 24K length record.

A FB record is not limited to 24K length.

MChandrasekar wrote:
I need to use some file to store more than 15Million characters in a single record.

What could possibly be the reason for this design? How could a program read or write such a record?
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: Thu Aug 14, 2008 7:33 pm
Reply with quote

Quote:
What could possibly be the reason for this design? How could a program read or write such a record?
XML parsing, for one. Reading and writing is a zebra of another color, though.
Back to top
View user's profile Send private message
MChandrasekar

New User


Joined: 21 May 2007
Posts: 7
Location: Chennai

PostPosted: Mon Aug 18, 2008 1:10 pm
Reply with quote

I need to store a array with 25 character length for 9000 times and that should be in a single record. Because the progam will append 25 bytes for every loop and read it character by character at the last step of the program.
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: Mon Aug 18, 2008 7:19 pm
Reply with quote

Hello,

I suggest you consider a design change.

What you need to do should be rather straightforward using vsam or a database table.

Unless there is more to the requirement than you have posted. . .
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 FTP VB File from Mainframe retaining ... JCL & VSAM 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
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top