ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

retrieve source program & dependent program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • retrieve source program & dependent program

    hi all,

    how to retrieve/display rpg or cl source program, without knowing the source file or debugging the program.?

    is there a command that will trace backward to check the specific program, dependent file/program?

    thanks in advance.

    regards,
    christina

  • #2
    Re: retrieve source program & dependent program

    how to retrieve/display rpg or cl source program, without knowing the source file or debugging the program.?
    There is a system file called QADBXREF which holds all files by type.
    The link below is a program that use SQL to list all source files on the
    system and searches for the source file name you pass in. It will then display
    all copies of that source and allow you to edit/copy/display.

    find program

    is there a command that will trace backward to check the specific program, dependent file/program?
    the command would be dsppgmref... there is an API for this also
    and it can be seen in action on the below link.

    The tool


    now both of these tools are not complete and offered only as examples..
    if you create a new tool please post back to the site along with the pictures from the beach.

    take care
    Jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: retrieve source program & dependent program

      hi jamie,

      thanks for the information and for reminding me about the pictures from the beach..

      will send you one of these days..

      take care

      cheers!
      christina

      Comment

      Working...
      X