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



Stefan

This information is in 2 places - the CL Programming Guide in the section on processing messages, and in the Work Management manual. In CL Programming I see it in Chapter 8. Working with Messages, in a section on Message Logging. In Work Management I see it in Chapter 5. Jobs, in a section called QHST History Log.

The QHST files are named using QHST followed by the 5-digit Julian date and finally a sequence character (A-Z and 0-9). Unfortunately, this cannot be relied on for getting the correct order of messages, as the Julian date needs to be different when you have more than 36 logs in a given day. The safest way to get the correct order is to use the text description, which has the date/time range for the messages in the file. There is no way to sort on those in PDM or anything, so I usually put the object info into a user space and then use something like qsort to sort the user space entries based on the text description. You need to use pointers to do this easily but it is simple once you've done it once. There is a Redbook called something like Who Knew You Could Do That With RPG? with examples of just this use of qsort.

Also, QHST messages get wrapped over multiple records, with sequence numbers. You could maybe have views defined for each kind of row, to help in working with them - sort of like the older way of defining what "record" you are on with I-specs.

HTH
Vern

At 06:53 AM 6/10/2006, you wrote:

Hi,

I need to analyze a large # of QHST entries so I'm looking at the
QHSTxxxxxx-files.
But I can't find any information about the layout of those files - so does
anyone know?
I would like to not use the DSPLOG *print.....

Regards

Stefan Tageson
Informatikk Sverige AB
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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.