× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Just realized that the address for my iBuild product is
https://sourceforge.net/projects/ibuild/, not .org. Please also note that
the product is free, i.e. open source.

On Wed, Aug 17, 2022 at 9:32 AM Alan Campin <alan0307d@xxxxxxxxx> wrote:

Hi Dave, based on your question, I am assuming you don't have any kind of
change control software like Aldon or Implementor. May I suggest a build
tool like my iBuild. (Available at www.sourceforge.org/projects/ibuild).
iBuild allows you to put build instructions in the header of your source
for how to build the object and a command that builds the program or file.

Here are some examples.

Build a program object.
//*_>_O DLTPGM PGM(@OBJLIB/@OBJNAM)

//*_>_R CRTPGM PGM(@OBJLIB/@OBJNAM)

//*_>_C MODULE(EI0001_M00 EI0001_M01 EI0001_M02 EI0001_M03 EI0001_M04

//*_>_C EI0001_M05 EI0001_M51)

//*_>_C TEXT('Edcor Interface-Maintain Function tables')

//*_>_C BNDSRVPGM((XVMSGF *DEFER) (XVERRH *DEFER)

//*_>_C (*LIBL/XVUSPC *DEFER)(*LIBL/XVTMPN *DEFER))

//*_>_C ACTGRP(ECDBASE)


Build an RPG module.
//*_>_O DLTMOD MODULE(@OBJLIB/@OBJNAM)
//*_>_R CRTSQLRPGI OBJ(@OBJLIB/@OBJNAM)
//*_>_C SRCFILE(@SRCLIB/@SRCFIL) SRCMBR(@SRCMBR)
//*_>_C OBJTYPE(*MODULE) COMMIT(*NONE) OPTION(*EVENTF)
//*_>_C DBGVIEW(*SOURCE) CLOSQLCSR(*ENDACTGRP) RPGPPOPT(*LVL1)

Build a CL module.
/*_>_O DTLMOD MODULE(@OBJLIB/@*OBJNAM)
*/
/*_>_R CRTCLMOD MODULE(@OBJLIB/@OBJNAM)
*/
/*_>_C SRCFILE(@SRCLIB/@SRCFIL) SRCMBR(@SRCMBR)
*/
/*_>_C DBGVIEW(@MODDBG) OPTIMIZE(@OPTILE) OPTION(*EVENTF)
*/

Anyway I would look at the readme in the project for more information.

On Wed, Aug 17, 2022 at 6:25 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Hello,



How can I automatically compile my CL program to run in a named ACTGRP as
I
can with RPG programs using the header specifications ? We don’t have any
custom compile commands. If I do it manually, theres a risk that someone
recompiles and it runs in the DFTACTGRP.



Thanks in advance for your help!!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.