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



QLREXHAN only works on OPM programs I believe.

-----Original Message-----
From: Douglas Handy [mailto:dhandy@isgroup.net]
Sent: Wednesday, June 23, 1999 7:40 PM
To: RPG400-L@midrange.com
Subject: Re: RPG enhancement suggestion


Colin,

>So we always need a DUMP to be produced automagically, without user
>intervention.

Until Hans gets a chance to do a justification report for the PHB and
include an option to allow DEBUG without including otherwise
unreferenced fields, see if the following will do what you want.  I
haven't tried it -- but it was suggested last month after someone who
wanted to know how to force a DUMP without using the DUMP opcode (and
the associated unreferenced field overhead).

The suggestion was to replace DEBUG with a call to QLREXHAN passing a
single 12-byte variable containing "D-" followed by the program name
(which you could get from the PSDS).  I believe this program is really
part of the COBOL run-time support, but exists on every system.

I haven't tried this myself, or compared its output to that of the
DEBUG opcode.  But it may be an alternative.

To me the idea of including unreferenced fields just because you coded
DEBUG(*YES) always seemed like overkill. 

Doug
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* This is the RPG/400 Discussion Mailing List!  To submit a new
*
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe
*
* from this list send email to MAJORDOMO@midrange.com and specify
*
* 'unsubscribe RPG400-L' in the body of your message.  Questions should
*
* be directed to the list owner / operator: david@midrange.com
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.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.