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



Walden,

 This might be the answer, although I would really prefer an official
interface.  Thanks!

 -mark

Original Message:
-----------------
From: Walden H. Leverich WaldenL@xxxxxxxxxxxxxxx
Date: Mon, 26 Sep 2005 10:24:17 -0400
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Message text formatting


>My question is if this routine is available to us. 

Ahh, what you want is access to the QMHSCLVL program, it's the one that
displays second level help on messages.

"Available" is a relative term. QMHSCLVL is a system program, not an
API. If you're still running at level 30 then you should be able to call
it directly. Gene Gaunt published this interface back in 2000:

 D Structure       DS
 D   QueuePtr                    16A   inz( %addr( Queue ))
 D                               16A   inz( *loval )
 D   MsgKey                       4A
 D                              220A   inz( *loval )
 D   Queue                       20A   inz( 'QJOBMSGQ  *LIBL' )

 C move ShowKey MsgKey 
 C call 'QMHSCLVL' 
 C parm Structure

But if you're at level 40 or higher this will blow up. Beyond that you'd
have to "hack" a system state program to pull it off. If you're
comfortable w/that and have access to the knowledge (not that hard) then
it should continue to work.

-Walden


------------
Walden H Leverich III
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


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.