The Document Program Structure (DOCPGMSTR) command for IBM iSeries 400 (AS/400)

Some of the happy(?) users of my DOCRPGSRC-command have asked me if I had a command like it, but not showing the nesting of subroutines, but the call structure of programs. I hadn't, but it is quite easy to make, so here it is.
The Document Program Structure (DOCPGMSTR) command for IBM iSeries 400 (AS/400) serves to give an overview on nesting of programs calling other programs.
The overview is shown at a workstation, on a printerlist or loaded intoa file. Actual layout of the documentation will vary slightly dependingon width and level of calls.
The information shown is based solely on the output from the IBM-commandDSPPGMREF with the librarylist that is current at execution time. This basis made it easy to include some additional information retrieved from program references: Files referenced (even a merged view of references from all programs called by the actual program) and a check on matching record format ID's.

You find a sample output from the command below.You can get a free copy of the program, if you fill the the form.


Provided that you have got the program directly from me the author you can install and use it on one single iSeries 400 (AS/400) to document programs in any commercial or non-commercial project YOU are working on. You can allow anyone else working on the same project on the same iSeries 400 (AS/400) to use it. You can distribute this text only (the description and my address) to anybody you want if it is not changed. Actually you are invited to do so. No other distribution is allowed. You must remove the utility from machines you will no longer have access to. You are not allowed to sell (alone or as part of a project) any output from this utility.
You are expected within a month after download to send a message with your opinion to the author.

How to get the Document Program Structure (DOCPGMSTR) command for IBM iSeries 400 (AS/400)
All you have to do is to fill the form.

An example of the output from the command.

Program                          Description
PPRSUSRAPP/CPRSOPP               Opdatering
  PRSCLK                         Check af rækkefølge på lø
  CSERMBRFIR                     Benytter firma som member-navn
  PRSOPP                         Overfører fra work til permanente files opda
    GENBIL                       Tildeling av bilagsnummer                         
    HBP2CVT                      BP2000 - RPG program for add/rmv century & shift
      HBP2DTS                    BP2000 - Year shift for test purposes
  PRSRAP                         Kald af rapporter under opdatering            
    PRSFPB1                      Nyberegning af ferieafholdelsespct                
      PRSDATO                    Beregner datoer/antal dage                        
        SYSDAT                   Date calculations                                
          SNDPGMMS               *Unknown                                         
    PRSUDA                       Vedligehold HIST medarb opl PRSRAP/POP            
    PRSR01                       Lønartsstatistik åTD pr afdeling     

Back to Software Page

Last change date: 20.2.2003. File name: http://hkrebs.dk/docpgmstr.html