Question about Scrolling Cache
Chris Sharman
Chris.Sharman@ccagroup.co.uk
Mon, 14 Sep 1998 16:53:45 +0100
>We have just upgraded to 7.29 on the HP3000. In our Qdesign program, we
>have the Procedure Find written (I know this is a no-no, but the person who
>wrote it probably didn't). Anyways, when the program is compiled, we
>receive the following warning:
>*W* FOR loop without missing option in FIND procedure. Scrolling cache
>commands should be avoided.
>
>1. What does this message mean in English?
The normal construction of a find procedure (for a repeating primary file) is
FOR MISSING myprimary
...
So that the FIND procedure fills in all the empty records.
Alternatives are "FOR [DISPLAYED] myprimary".
They would result in the FIND procedure processing the [displayed] non-empty
records: there shouldn't be any at the start of the find procedure.
It may be that there's some postfind processing being done (which would be best
moved to the postfind procedure), or it may be something else weird &
wonderful. You should see about getting rid of FIND & just using POSTFIND, if
you have the expertise.
[Step 1:
change "procedure find" to "procedure internal find", and do a build list
detail to see what (if anything) is different. We had a programmer who thought
it was neat to do build list detail, then include all the generated procedures
in source, even when he didn't want to change them.
]
>2. How much information can be stored in scrolling cache?
255 record complexes is what we have on VMS presently, although Quick is prone
to obscure problems if the complexes are too large (probably mis-handled memory
errors or something). I put in an enhancement request (4722, 10-SEP-1996) to
remove the 255 limit & handle memory & resource limitations properly when they
arose.
______________________________________________________________________
Chris Sharman Chris.Sharman@CCAgroup.co.uk
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.