× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If i was processing a few to a few hundred records
I'd call another pgm to get value from another record
(and sounds like u may need this call in other places?

If you are processing lots of records & need performance
and don't have another logical to use.
You can also try this with just the 1 file:
key1 setll    file
key1 reade file
dow  not %eof(file)
process....
move fields from this record to print
save key fields to this record
build new key to chain
newkey chain file
move fields from this record to print
calc & print
savekey setll   file
savekey reade file - you are back in position
key1 reade file - read next record
enddo
jim  

> > 
> > 
> > HI I have a Item master file that is being read as READE for Company #.
> > This READE is the basis of the program. The file structure is such 
> > that one company, in this case 550, contains the cost of the item. The 
> > report I am doing requires the ext cost. I am processing the records 
> > based on a passed company of the user requestor. I am concerned that 
> > if I go and get the 550 record on a separate CHAIN am I changing my 
> > order of the READE, IOW, when I go back to the READE was there a 
> > change there because I went out and chained to another record?
> > Thanks,
> > Rob



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.