MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to edit a huge sequential file..??

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Tue May 25, 2004 5:25 am    Post subject: How to edit a huge sequential file..?? Reply with quote

Hi,

As we know if we try to edit any huge sequential file it will be substituted with browse mode. Is there any ways to edit these huge files,

please my shop does not have file aid or any other tools

Bala
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Tue May 25, 2004 5:37 am    Post subject: Reply with quote

Balamin,

What exactly do you mean by editing? Tell us your requirement and may be we can help. You can run a sort or run rexx exec in batch to get the desired results.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Tue May 25, 2004 7:36 pm    Post subject: Reply with quote

The Edit & Edit Macros manual describes the limitations of Edit.

Code:

Maximum initial storage allowed for Edit and View                         
                                                                         
          The maximum amount of storage that edit and view use when       
          initially loading the data into the edit or view session. This 
          number is in kilobytes and is rounded to the nearest 128 KB     
          value. If you set a limit on the initial amount of storage     
          allowed, and a session requires more than that amount, the data
          is shown in BROWSE mode instead of edit or view.               
                                                                         
          A value of zero indicates that the edit session should not     
          impose any limits on initial storage used. If this value is zero
          and there is not enough storage to load the data, a program     
          error can result.                                               


The panel where this value is set is under the Edit_Settings menu of an Edit session.
Code:

                                                                               
                            Edit and View Settings                             
  Command ===>                                                                 
                                                                 More:     +   
  Settings for current and future Edit and View sessions:                     
                                                                             
   User session initial macro . . . . . . . . . . . . . .                     
   Maximum initial storage allowed for Edit and View  . .     0               
   Target line for Find/Change/Exclude string . . . . . .  2                 
   Enter "/" to select option                                                 
      Always position Find/Change/Exclude string to target line               
      Remove action bars in ISPF edit and view panels                         
      Force ISRE776 if RCHANGE passed arguments                               
                                                                             
   CUT default . . 2  1. Append      PASTE default . . 2  1. Delete           
                      2. Replace                          2. Keep             
                                                                               
  Settings for future sessions. Select Apply Setting Immediately for the       
  setting to affect the current session as well.                               
                                                                               
   Enter "/" to select option                                                 
      Confirm Cancel/Move/Replace           Apply Setting Immediately         
      Preserve VB record length             Apply Setting Immediately         
                                                                               

If you hit PF1 with your cursor in the Maximum initial storage allowed for Edit and View field you will get more help:


Code:

       Help for Maximum initial storage allowed for Edit         
                                                                 
  The maximum number of kilobytes of storage that the editor     
  can use when initially reading in data.  If the initial read   
  of the data requires more storage than this value, browse     
  will be substituted instead.                                   
                                                                 
  The amount of storage that the editor uses to hold records     
  is at least                                                   
                                                                 
    (Number of records * (40 + record length))                   
                                                                 
  To allow edit to use as much storage as is available, set     
  the value to 0.                                               
                                                                 
  The default is 0. Because the editor gets storage in 128Kb     
  blocks, if this number is greater than zero, it will be       
  adjusted to a minimum of 128 or rounded down to the nearest   
  128.                                                           


If it is already set to zero then you are probably out of luck. Increasing your TSO region size might help. If not, then maybe by increasing this figure you can overcome your problem, however, really BIG files are better off being edited with a program like File-Aid or using SORT.
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Thu May 27, 2004 2:18 am    Post subject: Reply with quote

Hi
Thanks all for your inputs..

Bala
Back to top
View user's profile Send private message Yahoo Messenger
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Fri May 28, 2004 5:39 am    Post subject: Reply with quote

Hi,

I couldnt get to the Edit_Settings menu in my Mainframe.

Can any one let me know how to go to that.

Thanks & Regards,
Ravishankar
Back to top
View user's profile Send private message
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Fri May 28, 2004 8:30 am    Post subject: Reply with quote

Hi Ravi,

This is what I get in my Edit screen.

Code:

      File     Edit     Confirm     Menu     Utilities     Test     Help                               
    -------------------------------------------------------------------------------
    EDIT          LKKK12.DUMMY1(AMERICA) - 01.20                     Columns    00001    00072
    Command ===>                                                        Scroll ===>    CSR 
    ******    ***************************** Top of Data ******************************


Is there any other way to go into Edit Settings.

Please let me know.

Thanks & Regards,
Ravishankar
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Fri May 28, 2004 8:50 am    Post subject: Reply with quote

karavi2000,

What version of ISPF are you using? To find the ISPF version you are using

place your cursor on the STATUS field on the ISPF main menu. (at the top) and press ENTER.

This will give you a drop down list as follows
Code:

1.    Session             
2.    Function keys       
3.    Calendar             
4.    User status         
5.    User point and shoot
6.    None                 


Choose option 1(session) and press enter

Now you will see something like this on the right side

Code:

User ID . :    your tid
Time. . . :    09:48   
Terminal. :    3278   
Screen. . :    1       
Language. :    ENGLISH
Appl ID . :    ISR     
TSO logon :    TSOUSER
TSO prefix:    your TID
System ID :     D10A   
MVS acct. :     0,1722 
Release . :     ISPF 5.2



Kolusu


Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
souvik_225
Beginner


Joined: 15 May 2004
Posts: 17
Topics: 2
Location: Mumbai , India

PostPosted: Mon May 31, 2004 1:51 am    Post subject: Reply with quote

Hi Maton_Man,
The "Maximum initial storage allowed for Edit and View" is already set to ZERO in my case. But I am able to edit this value and have changed it to 99999(this got changed automatically to 99968 --- multiple of 128). Now am I going to get more storage space or was zero better(it would automatically take the highest value) ???
_________________
Thanks and Regards,
Souvik Upadhyay
Back to top
View user's profile Send private message Yahoo Messenger
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Tue Jun 01, 2004 12:59 am    Post subject: Reply with quote

As quoted earlier:

Quote:

To allow edit to use as much storage as is available, set
the value to 0.

_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group