At 15:13 -0500 on 01/07/2011, Bob Rutledge wrote about Re: can I dynamically increase tso size:

Krishnan wrote:
Hi All

I am having a similar problem. I am unable to edit a dataset and instead am getting the 'browse substituted message'

The ISPF edit was attempted for  a dataset with following characteristics

- RECFM=VB, LRECL=5000. - DSORG=PS
- BLOCKSIZE=27998
- It's total size is 31MB and has 1003372 records

TSO regions size is max - 2096128 specified in the login screen

Tried again by choosing the option - Preserve VB record length, but did not help


ISPF Edit assumes it will need LRECL bytes for each record when it reads your dataset into memory. Even ignoring overhead (links in memory), 5000 * 1003372 isn't going to fit.

Bob

That is only true if the RECFM is FB. Since it is VB the 5000 is the maximum record size only. It does not mean that all the records are 5000 bytes long. Given that the file size is 31MB (32505856) and there are 1003372 records, the average record size is 33 bytes including the record length. Given the region size mentioned (which I assume is in K not bytes) there should be more than enough room for the file in memory.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to