• hello everyone,

    I was wondering if it was possible to analyze a pgm coded with rpgle.

    for example, I would like to query the pgm to find all call statements

    select *
    from mylibrary/myPGM
    where field1 like '%CALL%';

    i think this would help greatly. It must be possible since the PDM does it with on an opt 25

    thanks in advanced,
    Ronze


  • Use the free LPEX editor, select the "outline" view, and you can see all fields, parameters, subr, indicators, and more instantly.


  • You could just open the member then on the seu line type
    hide ' '
    This will hide all the code on the source member
    then key in:
    find CALL a

    And all you will see are the CALL's in the program


    you can also do a dsppgmref on the object (program) and you can get this info

    Take care
    Jimmy







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about analyze rpgle with sql , Please add it free.