This program lists all procedures for all Service Programs contained in a Binding Directory.
The program is called from the command line with the following parameter:
The program call looks like this:
call cp1600c (QC2LE)
The program is very simple. It sends the output from DSPBNDDIR to an outfile, and then, for each service program, executes a DSPSRVPGM DETAIL(*PROCEXP). There is an RPG program called, but this is just to keep QSYSPRT open so that all of the output ends up in a single spool file.
The following link takes you to the source code, written in beautiful /free ILE/RPG. The source is
distributed under a creative commons license.