|
Alan Campin has created a tool that lets you embed the create commands in the source code ... See http://www.think400.dk/downloads.htm ... look for COMPILE by Alan Campin ...You can put specially formatted comments in the source, for example, to create an ILE program from modules: *_> CRTPGM PGM(@5/@4) MODULE(TG0001_M01 TG0002_M01 TG0002_M02 + *_> TG0002_M03 TG0002_M04 TG0002_M05) + *_> ENTMOD(@5/@4) + *_> BNDSRVPGM(XVMSGF XVUSPC) ACTGRP(QILE)
Or, to create a service program:*_> CRTSRVPGM SRVPGM(@5/@4) MODULE(XVIFSX_M01) + *_> SRCFILE(@2/@1) SRCMBR(XVIFSX_B) BNDSRVPGM(XVERRH) + *_> TEXT('Integrated File System-Common Functions.') + *_> ACTGRP(QILE) BNDDIR(QC2LE) Then, you use the COMPILE command to compile the object ... you can create a PDM user-defined option to invoke the COMPILE command for you from WRKMBRPDM, or createa a "user action" to use from within WDSCi.
This way, every time you "compile", the tool will automatically re-bind the *PGM or *SRVPGM from its *MODULEs.
The "readme" file has many examples, including how to set it up for use with WDSCi and PDM.
Regards, Mark S. Waterbury
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.