Any OPM program will be ignored. Modules are listed whether the module was compiled and bound with others or the program was created straight from a single module.

Note that the code must be compiled as a module. The program is then created with CRTPGM with BNDDIR(QC2LE) and ACTGRP(*NEW). That brings the printf() API in and it closes the printer file when the *NEW activation group ends.

Tom

]]>By: astradynehttp://itknowledgeexchange.techtarget.com/itanswers/retrieve-rpgle-source-date/#comment-40882
Sun, 17 Sep 2006 03:26:50 +0000#comment-40882There is no source date for an ILE program as there is no source. An ILE program is comprised of a number of modules which are bound together to make the program and the modules can be of different languages.

To retrieve the source date you will have to pick up the attributes of the particular module.