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


  • Subject: Object types in the QSYS file system (and in save files)
  • From: Dave McKenzie <davemck@xxxxxxxxxx>
  • Date: Thu, 15 Feb 2001 15:13:46 -0800

I'm posting this question from James Lampert to the list because it may be of
some interest, and because there hasn't been much traffic on the list lately.

"James H. H. Lampert" wrote:

> Is there a readily available table translating between MI and CL object
> types for those types of objects that can occur in the QSYS.LIB file
> system (and in the index of a save file)? (e.g., 0401hex = *LIB, 0201hex
> = *PGM, &c.)
>--
>James H. H. Lampert
>Professional Dilettante
>http://www.hb.quik.com/jamesl
>Have you visited http://www.thehungersite.com today?


There's a table of object types in the pgm QSYS/QLICNV which you can see by
dumping it with SST.  It includes internal types (e.g. x0C90, data space index,
AKA access path) as well as external types (e.g. x1901, file).  On my V4R4
machine it has 287 types.  You could write a little pgm to winnow out the
external types by  passing the hex type code to the QLICVTTP API, which gives an
error if it's not an external type.  On my machine I get 101 external types.
(Contrast this  with V1R1 of the S/38, which as I recall had 19 types.)

--Dave




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


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

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