× 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 was: Re: Date for WrkNetF type MI call)

How do I start with this question?  Regarding the hex types & sub-types that
are used to dump the PDM defaults from the user profiles object (or for any
other object for that matter), I think I remember hearing that these types &
sub-types, and/or the contents thereof, are subject to change from release to
release and that it's risky to write applications using DmpSysObj to get at
that info.  Or is the risk associated with the format of the spooled output of
DmpSysObj?  Or both?  Maybe the better question to ask is whether using MI to
get at this information isolates release dependencies?

It may have even been a matter that specific info about PDM defaults has never
been documented and, therefore, IBM has implicitly reserved the right to
change the format and/or method of how this information can be retrieved.

Which (finally!) leads me to ask, what other goodies are lurking on the system
that are not accessible through other "normal" means (non-MI solutions), but
from DmpSysObj?  Where does one look in the MI reference to find this stuff?

Dan Bale
IT - AS/400
Handleman Company
248-362-4400  Ext. 4952

-------------------------- Original Message --------------------------
The magic numbers are hex type and sub-type codes for a library (X'0401') and
 a
distribution index (X'0ED1' - X'0E' is the type for an index, and X'D1' the
subtype for this particular kind of index).  A list of some of the common
 types
is in the MI Functional Reference manual, and you can see others by dumping
objects of various types.

The send and arrival dates are at position 57 and 65 in the returned data,
respectively.  They are in 8-byte "system time-stamp" format (*DTS).  You can
convert them to a more friendly form using the QWCCVTDT API, described in the
Miscellaneous API's manual.  Any time you see 8-byte data (the last 2 or 3
 bytes
may be zero) starting with hex 7 or hex 8, you can suspect it to be a
timestamp.  (Those starting with 8 are on or after Jan 1, 2000, and those
starting with 7 are before.)

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