View previous topic :: View next topic
|
Author |
Message |
MChandrasekar
New User
Joined: 21 May 2007 Posts: 7 Location: Chennai
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
MChandrasekar
New User
Joined: 21 May 2007 Posts: 7 Location: Chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|