CRTPGMFSET
Parameters
- PROGRAM - A single program, generic group or all programs in a library will be analysed.
- TOLIB - the library to put the files in.
- FILES - limit the files created to just those updated by the program(s), or all those used.
- INCPGMS - analyse just the program(s) selected, or recursively drill down through each program referenced.
Notes: The routine gets all its information from the DSPPGMREF command - including its limitations. Anything called/submitted
via QCMDEXC (or QCAEXEC - we still have plenty of them) can't get tracked. The same is true for program calls not resolved till
run time (program names in variables, etc). Oh, overridden files get missed too.