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



Interesting API - will need to check it out more sometime.

I see a curious statement in the docs -

"If there are multiple QHST files with the same dates and times all messages are returned from one file and then the messages from the next file are returned. So messages may appear to be returned out of order."

I'm not sure what this really means, but maybe it is not important unless you have an extremely busy system that generates lots of QHST* files each day.

On to real work!

Vern

----- Original Message -----
On 01 May 2013 15:32, Vern Hamberg wrote:

The QHST* message files have a rather interesting layout. They
can be read just fine in RPG - there's the RPG hook you need!!

They have a text description that tells you the dates included,
as I recall - something like that. The NAMES are not necessarily
in the right order alphabetically.

There is documentation <<SNIP>>

There was an API added for access to the /history log/ data, which I
presume eliminates the need to list the files [and descriptions and
creation dates] to try to figure out how to order reading; I've never
used the API nor read much about it, just recall its existence:
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qmholhst.htm
_i Open List of History Log Messages (QMHOLHST) API i_
"...
The Open List of History Log Messages (QMHOLHST) API provides
information about messages that were sent to the QHST message queue.
When the API is called, it will cause messages to be moved from the QHST
message queue into the QHST database files. The API will return the
message text based on the current contents of the message file when the
API is called. The returned messages are sorted by their sending date
and time unless:
..."

FWiW and IMO: Using such a tenuous tie-in to RPG would pretty much
allow discussion of *most* midrange-L topics here, but that does not
make the topic any more relevant to this list\forum. As well, continued
discussion here versus someplace like the midrange-L fails to reach the
proper audience for the topic; i.e. the people who know most about the
topic are more likely to be system administration types vs RPG
programmer types, and the former are less likely to hangout here. The
OP would be better served by inquiring on the proper list... as David
suggested.


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