+ Reply to Thread
Results 1 to 4 of 4

Thread: How to compile RPG using option *LIST

  1. #1
    Guest.Visitor Guest

    Default How to compile RPG using option *LIST

    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.

  2. #2
    Guest.Visitor Guest

    Default How to compile RPG using option *LIST

    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

  3. #3
    Guest.Visitor Guest

    Default How to compile RPG using option *LIST

    For an RPG III compile, specify *LSTDBG. Then, you can debug the program using STRDBG OPMSRC(*YES) without needing the source member. Chris

  4. #4
    Guest.Visitor Guest

    Default How to compile RPG using option *LIST

    Thank you. I got it.

+ Reply to Thread

Similar Threads

  1. WRKJOB option 14
    By Guest.Visitor in forum IBM
    Replies: 3
    Last Post: 11-07-2005, 09:35 AM
  2. Replies: 3
    Last Post: 05-14-2003, 10:56 AM
  3. Replies: 2
    Last Post: 03-12-2003, 10:15 AM
  4. Compile Doesn't Find Library in the User Library list
    By sbarkley@magmail.com in forum Programming
    Replies: 0
    Last Post: 03-06-2001, 02:07 PM
  5. Compile OPTION *LSTDBG & using STRDBG
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts