PDA

View Full Version : How to compile RPG using option *LIST



Guest.Visitor
01-01-1995, 02:00 AM
When compile ILE program, I normally specify option *LIST so that member source changed will not affect debuging. How can I compile an RPG III program with option *LIST or *ALL ? By default, I compile without specify any option. What Should I put in OPTION or GENOPT when CRTRPGPGM. Any helps will be appreciated.

Guest.Visitor
10-18-2000, 10:04 AM
Eric, I don't think you can work that way. If you have need to debug a production program using it's original source -yet- make modifications to this same program, you should copy the source to another library and do the modifications there. That way you have the original source for debugging purposes, yet have another source to modify. We do this type of logic putting the source in QGPL and compiling it there as well. Since QGPL is higher in MIS personnel's library list, but LOWER in the User's library list, we can run tests against modifications without disturbing the production environment. Bill

Guest.Visitor
10-18-2000, 11:02 AM
For an RPG III compile, specify *LSTDBG. Then, you can debug the program using STRDBG OPMSRC(*YES) without needing the source member. Chris

Guest.Visitor
10-20-2000, 08:41 AM
Thank you. I got it.