HP3000-L Archives

November 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
James Clark <[log in to unmask]>
Reply To:
James Clark <[log in to unmask]>
Date:
Thu, 18 Nov 1999 10:19:27 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
The question about item numbering. The items are numbered as they are listed
in the schema. Not sure from bottom up or top down. They are not numbered by
their occurance in datasets. Thus item NAME would say be giving a number of
10. Then any dataset with NAME in it would have 10 as the item #. Now if you
delete the item NAME from the schema then renumbering will occur.
Now after writing this I could be all wet, haven't looked at the internals
of Image for some time.

James

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Mark Landin
Sent: Thursday, November 18, 1999 9:20 AM
To: [log in to unmask]
Subject: Re: Settle an image dispute.


On Wed, 17 Nov 1999 11:17:27 -0500, Timothy Hoefner <[log in to unmask]>
wrote:

>I recall hearing that it is not necessary to recompile a program just =
>because a new item has been added to a dataset.  That is of course that =
>the program declares each item being accessed and that "all-list" is =
>not used on the affected set.   The dispute is that you must recompile =
>regardless of how the list is defined in the program.

"@" and "*" item lists should work just fine without recompiling,
since these are evaluated at run-time, not compile-time. Of course you
will probably have issues with the input buffer for the dataset....

You should't need to recompile programs with named or numbered item
lists either, as long as you don't want to access the new data item in
these programs.

If you are DELETING a data item, I am not sure how that would work,
espeically with numbered item lists. Does IMAGE renumber items in a
dataset if you delete an item from the middle of the dataset?

>Can anyone steer me toward a document that would contain this kind of =
>information.

The IMAGE/SQL manual is authoritative on this.

Question: if you delete a data item from a dataset, does IMAGE
re-number the data items in the dataset, thus invalidating your
numbered item list?

ATOM RSS1 RSS2