|
Joe, Here's what we use where some programmers use CrtBndRpg and some use CrtxxxMod and CrtPgm: /If defined(*CRTBNDRPG) H ActGrp( QILE ) H DftActGrp( *NO ) /endif H AlwNull( *USRCTL ) H BndDir( 'QC2LE' : 'LINBNDDIR ' ) H Copyright( 'Lincare Holdings, Inc., 2003 ' ) H Debug( *YES ) H ExtBinInt( *YES ) H FixNbr( *NOZONED : *NOINPUTPACKED ) H Option( *SRCSTMT : *NODEBUGIO : *SHOWCPY : *NOSHOWSKP ) H Text( 'Exit Point Program for QIBM_QZDA_INIT ' ) H TimFmt( *HMS ) H TruncNbr( *NO ) > -----Original Message----- > From: Joe Pluta [SMTP:joepluta@PlutaBrothers.com] > Sent: Friday, January 31, 2003 11:46 AM > To: RPG programming on the AS400 / iSeries > Subject: CRTBNDRPG, ACTGRP and the H spec > > Okay, now that I've upgraded to V5R1, I got rid of some of my old standby > commands in my user system library. This included my special version of > CRTBNDRPG, which had DFTACTGRP(*NO) specified. > > Now, I figured I could avoid this by simply specifying an ACTGRP(xxx) in > my > H spec, but the compiler bombs. Evidently the ACTGRP(xxx) keyword isn't > enough to override the CRTBNDRPG's default setting of DFTACTGRP(*YES). > > This stinks. > > So, do I have to know ahead of time whether a program is meant to be in > the > activation group, and execute a different compile command (setting > DFTACTGRP > to either *YES or *NO) depending on how the program is meant to run? > > This seems to be a pain in the butt. If I go to the trouble of specifying > the keyword in the H spec, you'd think that would override any defaults > the > compiler might have. > > Anyway, bottom line: do I have to go re-add my CRTBNDRPG command in > PBDUTIL > to have DFTACTGRP(*NO)? > > Joe > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which may be confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@lincare.com or (800) 284-2006. ************************************************************************************************************************************************************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.