• Subject: Re: Object creation info
  • From: David McKenzie <davemck@xxxxxxxxxx>
  • Date: Wed, 09 Feb 2000 13:17:04 -0800

Strangely enough, the "USAGE" info is not in the object itself, but in the OIR
(Object Information Repository).  In fact, everything in the DMPOBJ output
after the string "OIR DATA-" is in the OIR (TEXT, SERVICE, ATTRIBUTE, etc.).
The OIR is part of the library the object is contained in.  You can see it by
doing DMPOBJ on the library, then look for a space of type *OIRS (type 19,
subtype 52).

The creation date/time is in the object at offset x50.  It's in 8-byte system
time-stamp format, which can be converted with the QWCCVTDT API.  (For trivia
buffs: the system time-stamp went from x7.... to x8.... on 1/1/2000.)

--Dave

brian wrote:

> Again, has anyone discovered the storage location of the object creation
> information?  It shows up in the spool file created by DMPOBJ like so:
>
> .USAGE-
>   000000   C2D9C9C1 D5404040 4040C3C1 D5D5D6D5   F840
> *BRIAN     CANNON8               *
>
> ..but I've been unable to find corresponding information in SST D/A/D.
>
> A pointer to the user profile of the owner of the object is in plain sight
> at 000059.
>
> Any information on this or on the anatomy of objects in general would be
> greatly appreciated.
>
> -brian

+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

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-2022 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.