× 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.



Our current IBMi is running V7R3M0 and we are doing some testing on a new
machine running V7R4M0

We have an SQLRPGLE program being compiled with the following command:

CRTSQLRPGI OBJ(OBJLIB/PGM)
SRCFILE(SRCLIB/QRPGLESRC)
SRCMBR(MBR) DBGVIEW(*SOURCE) REPLACE(*YES)
TEXT('Nothing to see here')

The program pulls in some standard header specs via /Copy which specify a
binding directory

The program compiles on the old V7R3M0 machine but not on the new V7R4M0
one.
On the old machine the compile listing shows Default Activation Group *NO
On the new machine the compile listing shows Default Activation Group *YES
and fails with:

Parameter BNDDIR not allowed with DFTACTGRP(*YES)

I understand this problem and how to fix it for that specific program.

But I don't understand why it is different on the two machines.
Prompting the CRTSQLRPGI command, the parameters are identical.

I've checked CHGCMDDFT for all objects on both machines and there is
nothing for CRTSQLRPGI.
(or CRTPGM)

On the old box someone has performed CHGCMDDFT on the QDEVTOOLS versions of
CRTRPGMOD
and CRTBNDRPG, the latter specifying "DFTACTGRP(*NO) ACTGRP(*CALLER)".
For consistency I have done the same thing (via program) on a duplicate of
those commands (from QDEVTOOLS) into a library above QSYS
Interestingly on the old box where the program compiles, it ends up with
DFTACTGRP(*NO) ACTGRP(*CALLER) which look suspiciously like
the overridden parameters on CRTBNDRPG. But:
a) I'm not aware that CRTSQLRPGI (for the default of OBJTYPE(*PGM)) looks
to CRTBNDRPG for its CRTPGM parameters
b) I've set the same defaults for CRTBNDRPG BUT in a duplicate command
above QSYS in the system library list.
On the new box, qualifying the Proxy Command QSYS/CRTBNDRPG would still
have the original command default from QDEVTOOLS of DFTACTGRP(*YES)

I've also tried compiling on the new machine with TGTRLS(V7R3M0) but that
still fails.

I wondered if anyone could shed any light on why one machine is defaulting
to DFTACTGRP(*YES) and the other DFTACTGRP(*NO)
for CRTSQLRPGI when all parameters are the same?

Thanks kindly
Craig

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.