Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

x all; fall in browse mode 2

Status
Not open for further replies.

melimae

ISP
Jul 29, 2005
16
US
Is there any way to get the same results as x all; f all in browse mode. I am trying to display only records that the first 8 characters match a parameter retreived from a panel. The file is very large and it is very slow using execio or lmget.
 
No. There is, however, VIEW which gives you all the facility of EDIT... except SAVE.

So, if you're using BROWSE in order to avoid an accidental alteration of the data, VIEW is what you're looking for.


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Unfortunately, some files are too big to be "viewed" and will automiatically invoke "browse" mode. For a file like that, you need to either use a third party tool to select only the records you are intersted in, or use IEBGENER or SORT to copy only those records to another file.

Ever onward,
jar
 
The file is too large to be viewed. I looked up the IEBGENER and SORT but do not see any way to select only certain records to write to another file. Could you please lead me in the right direction.

Thanks,
melimae
 
You could have SORT do it by feeding this in SYSIN:
Code:
  SORT FIELDS=COPY
  INCLUDE COND=(1,8,CH,EQ,'...')
and you put your parameter there in place of the "...".

You could also have IDCAMS chop the file into smaller pieces for you:
Code:
  REPRO INFILE(...) OUTFILE(...) SKIP(##) COUNT(##)

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top