× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Simon,

Thank you for the additional information about types and subtypes. Since I
just wanted to materialize an object or space pointer it seems that internal
object types are not involved. Actually I just wanted to get the object name
of the user space used by the SEU exit program since I did not want to hard
code it in the exit program. So I decided to write a little RPG function
f_matObjPtr() to do that job.

By the way do you know what is at position 21-30 in the generalized object
name of the _Gen_Mat_ID_T structure?

Thomas Raddatz


----- Original Message -----
From: "Simon Coulter" <shc@flybynight.com.au>
To: <mi400@midrange.com>
Sent: Tuesday, March 26, 2002 7:36 AM
Subject: Re: [MI400] QTEMP type and subtype


>
> Hello Thomas,
>
> You wrote:
> >Does someone know why _matptr returns x'04C1' for
> >the object subtype of QTEMP? I can not find any
> >typedef for x'04C1'! The only similar typedef
> >that I found was x'0401' which is defined in
> >QSYSINC/MIH.MIOBJTYP for objects of type LIBRARY.
>
> As Leif said x'04C1' is the type and subtype of QTEMP but that doesn't
> really answer the question.  QTEMP is not a *LIB.  It is an *INTLIB.  A
> *LIB is type 04 subtype 01, an *INTLIB is type 04 subtype C1.
>
> The type tells you the object type.  In this case 04 = Library.  The
> subtype tells you the classification.  In this case C1 is an internal
> type.  01 is an external type.
>
> >Also the QLICVTTP API can not convert x'04C1' to
> >a symbolic object type.
>
> That API converts external object types only.  *INTLIB is an internal
> type.  There are dozens more internal object types.
>
> Regards,
> Simon Coulter.
>
> --------------------------------------------------------------------
>    FlyByNight Software         AS/400 Technical Specialists
>    http://www.flybynight.com.au/
>
>    Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
>    Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
>                                                              X
>                  ASCII Ribbon campaign against HTML E-Mail  / \
> --------------------------------------------------------------------
>
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400) mailing list
> To post a message email: MI400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/mi400
> or email: MI400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/mi400.
>
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.