Page 1 of 1

"Find" Limit increase.

PostPosted: Fri Nov 14, 2014 4:51 pm
by rajaranganathan
Hi,


When ever I find a keyword in a flat file or in sysout, it just searches for the first 5000 records and askes us to keep pressing "Enter" key.

Can any one please tell how to change the find limit? or make it to infinitive.


Thanks
Raja.R

Re: "Find" Limit increase.

PostPosted: Fri Nov 14, 2014 5:45 pm
by BillyBoyo
I hope not. Why do you think there is a limit? Why should it not apply to you? You want to look at a 20,000,000-line output, then do a find which you typo, then what whilst it sucks up CPU and IO to do your thoughtless task?

Re: "Find" Limit increase.

PostPosted: Fri Nov 14, 2014 6:33 pm
by rajaranganathan
Hi Billy,


Am working on an analysis task where i got to find a keyword displayed on spool and the keyword will be printed many times with lakhs of records in between each print.
So at times, i need to find the Keyword which is printed in the middle (see below example).


So when i want to find a keyword printed in middle , i need to keep on press 'Enter' Button to get to the middle keyword until i reach the keyword.


kindly let me know if you need more clarification.


Keyword********************
******************************
******************************
****** Lakhs of reocrds****
******************************
******************************
******************************
Keyword********************
******************************
******************************
******************************
****** Lakhs of reocrds****
******************************
******************************
******************************
Keyword********************
******************************
******************************
******************************
****** Lakhs of reocrds****
******************************
******************************
******************************

Re: "Find" Limit increase.

PostPosted: Fri Nov 14, 2014 6:36 pm
by prino
Send your flipping output, all crakhs of it, to a file, and use SRCHFOR in batch!

AND USE INTERNATIONALLY ACCEPTED UNITS. ALMOST NOBODY OUTSIDE OF INDIA HAS ANY CLUE WHAT A "LAKH" is!

Re: "Find" Limit increase.

PostPosted: Fri Nov 14, 2014 7:57 pm
by Terry Heinze
You might be thinking of the FINDLIM command in SDSF. You may or may not be able to change this depending on your shop standards.

Re: "Find" Limit increase.

PostPosted: Fri Nov 14, 2014 8:56 pm
by BillyBoyo
Your TSO session is at a high priority compared to batch jobs. You are tying up your terminal and impacting other users. Look at Prino's suggestion. Also look at using SORT to extract what you want to a small dataset. Spool datasets were never intended for "searching" and Find is not optimised for large amounts of data.