× 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: When is a bug not a bug?
  • From: David Morris <dmorris@xxxxxxxxxxxxx>
  • Date: Fri, 13 Mar 1998 10:39:45 -0700

Does anyone else have a problem debugging programs that use pointers?  
The following is an example.  The structure QZMFMDAE is defined in 
QSYSINC in QZMFASRV.  Note that debug displays the pointer QZMMDP 
differently when I display the data structure.  Displaying the data structure 
in 
hex the pointer is correctly represented.  This happen to us all the time.  
Anyone else have these things happen?  "Variable not available to display", 
etc.  We are on V3R7 with all of the available PTFs.

I tried putting this as both a local and global definition.  Same result.

Reminds me of something I once heard.  "The only bug I ever had was 
when I thought I had a bug and I didn't." 

> EVAL QZMMDP
  QZMMDP = SPP:C0AB6D44EF000210
> EVAL QZMFMDAE
  QZMMDP OF QZMFMDAE = SPP:C0EAD97D4A0009D0
  QZMMDL00 OF QZMFMDAE = 000000316.
  QZMMDFN08 OF QZMFMDAE = 'ORGL0100'
  QZMERVED14 OF QZMFMDAE = 000000000.
> EVAL QZMFMDAE :X 32
     00000     80000000 00000000 C0AB6D44 EF000210   - Ø.......{¿_àÕ...
     00010     0000013C D6D9C7D3 F0F1F0F0 00000000   - ....ORGL0100....

Thanks,

David Morris



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