|
Hans, While you're at it, we need the ability to post variable that can be viewed and logged during debug. It would be nice if the DSPLY opcode (or the DEBUG) opcode was enhanced to send the data in F1, F2, RS, to the job log or to the pgm msg que during debug mode. If you've used other tools, it's kind of like having the TRACE macros that redirect a string to the Debug Output window. Bob Cozzi www.rpgiv.com ----- Original Message ----- From: Mark Lazarus <mlazarus@ttec.com> To: <RPG400-L@midrange.com> Sent: Thursday, July 01, 1999 7:49 PM Subject: Re: Thanks! (was: RE: Use of DUMP in production programs) > Hans, > > At 10:08 AM 6/24/99 -0400, you wrote: > > >After a bit of discussion with my colleague, > >Barbara, we decided to go with a new operation > >extender on the DUMP opcode. This offers the > >most flexibility: You can code DUMP for > >debugging purposes, and you can code DUMP(A) > >to always produce a dump, even if DEBUG(*YES) > >is not coded. > > Will this print unreferenced variables? If not, can you add an extender > to print them too? > > >On further study, we decided NOT to add it to > >our proposed enhancements list. Rather, we > >just decided to "do it". A half an hour and > >12 lines of code, and we added the function to > >the compiler. > > Great! > > -mark > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * 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 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.