|
Hello, everybody! I would like to know how to change variables &1, &2, etc. in the message QRX1905 (End of Report) before actually running a query. The idea is to print some selection parameters using this message, since I don't know of any way to print that in the heading page of the query. My idea is to create a message file (RRQMSG) and add message QRX1905 to it, changing the message text to Planner: FROM &1 TO &2. If I could change those variables in the message prior to running the query, I could override the original message with the one changed and it will print the selections at the end of the report (better at the end than nowhere). The values for the variables will come from the LDA or just from some CL variables. I am hoping this could be done. Any ideas? Humberto Almodóvar
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.