Subject: | |
From: | |
Reply To: | Steve Dirickson (Volt) |
Date: | Mon, 22 Oct 2001 18:02:34 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> Works great. But I want to display the detail chain too...
> DBFIND mode 1 set SCHEDULE search FLEET arg {the specific fleet}
> DBGET mode 5 until end of chain, still great.
>
> How do I get back on the b-tree chain for the next F1/F2?
Short and sweet: you can't. This is a known issue for both the Image people and at least some of the language groups. What is needed is an analogue of DBGET Mode 4 that passes the information required to re-establish the position on the "superchain" the way Mode 4 does on the regular chain. Of course, that will require a way to *get* that info in the first place. As far as I know, there is no solution at the moment.
There are, however, workarounds for developers. Basically, you read the entire superchain, storing whatever info you need to navigate around later. Then you re-process the stored list as if it were the DBGET loop. Some languages make this a bit easier; with Transact/iX, for example, all you do is add the ",WORKFILE" option to the FIND(CHAIN)... call (or sort the results with ",SORT"). In lower-level languages, you have to do it manually.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|