×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Lo,

The system name is in the "Usage" section of the OIR (Object Information 
Repository) of a library, for all the objects contained in the library.  You 
can see it by doing DMPOBJ on the *LIB.  It's in the *OIRS space.  Each 
object has a x'200'-byte entry, the first 4 bytes of which are x'FFFFFFFF'.  
The Usage section starts at offset x'1AC' in the entry and contains a 2-byte 
length (typically x'001A'), 10-byte usrprf name, and 8-byte system name.

If there aren't too many objects, you could manually change them with SST.

You could also use an MI program I posted to this list in February at:

  http://archive.midrange.com/mi400/200402/msg00007.html

which calls QLIMROIR to modify the OIR.  That pgm was for changing the object 
attribute, but you could change it to use OIRPTR, OIRFROM and OIRTO elements 
7 (for USAGE) instead of 5 (for ATTR).

--Dave

On Wednesday 12 May 2004 10:30, Raikov, Leonid wrote:
> > Is there an easy way to remove the name of the system an object was
> > created on from the object header? I need to do this for all objects
> > in a certain library.
> >
> > Lo


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