Why browse is substituted on big datasets?

JES2/3, JCL, utilities.
Post Reply
harish123
Registered Member
Posts: 50
Joined: Thu Jul 04, 2013 10:26 am
India

Why browse is substituted on big datasets?

Post by harish123 »

Hi,

Why browse is substituted if one tries to View/Edit a dataset with huge no. of records?

Can someone please explain.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Why browse is substituted on big datasets?

Post by Robert Sample »

TSO/ISPF edit requires memory. This memory is used to hold a copy of the entire data set to allow you to make changes to it. The changes are not committed to the data set until you use the SAVE command or exit the data set edit.

TSO/ISPF browse does not read the entire data set into memory. You can think of the browse screen as a window into the data set -- move the window and you'll see different records, but browse won't need much more memory than what is required to show one screen of records. For a large data set, if TSO/ISPF runs out of memory while attempting to edit the data set, browse is substituted to allow you to at least view the data records.
User avatar
BobThomas
Registered Member
Posts: 70
Joined: Sat Jun 15, 2013 11:04 am

Re: Why browse is substituted on big datasets?

Post by BobThomas »

Is the region we see at Logon-ID have something to do here? I'm not sure but I vaguely recall that, such behaviour depends on that.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Why browse is substituted on big datasets?

Post by Robert Sample »

Yes, the region shown on the log on screen is the memory size allowed. There is some overhead with the system so if the value is 256000 then you cannot actually edit a file that contains 256,000 K of data.
harish123
Registered Member
Posts: 50
Joined: Thu Jul 04, 2013 10:26 am
India

Re: Why browse is substituted on big datasets?

Post by harish123 »

Thanks Robert.
User avatar
BobThomas
Registered Member
Posts: 70
Joined: Sat Jun 15, 2013 11:04 am

Re: Why browse is substituted on big datasets?

Post by BobThomas »

Robert Sample wrote:Yes, the region shown on the log on screen is the memory size allowed. There is some overhead with the system so if the value is 256000 then you cannot actually edit a file that contains 256,000 K of data.
Thanks Robert.

Is there any way using which we can change this size for a given session?

Thanks
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: Why browse is substituted on big datasets?

Post by William Collins »

Only if you have "powers" :-)

You'll need to talk to your support people, and explain why you need it. If you have a good case, and your boss behind you, you may get lucky. Generally, you can't "just do it" as it is system memory you are gobbling up, and if 50 developers all decide they "need" to do it...

Just to browse a large file is probably not a good reason. Use SORT to chop the file into smaller pieces and browse those (look at the SPLIT* options on OUTFIL).
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Why browse is substituted on big datasets?

Post by Robert Sample »

You can change your maximum memory on the TSO signon screen. However, the value you put on this screen may be overridden by the site so just putting an arbitrary value there may not actually change anything. Furthermore, the value is setting the amount of memory your TSO session (that is, the address space) can use so you should NOT change the existing value without talking to your site support group first; setting the value incorrectly could cause various system problems.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”