What's the benefit of the undefine?
________________________________
From: Darren Strong <darren@xxxxxxxxx>
Sent: Thursday, November 30, 2017 2:53 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.6 Procedure wizzard
You specify each program you want to include. It doesn't get much more
selective than that. I only listed one program for an example. I've
modified the calling program example here to show three programs being
pulled in.
/define PrototypesOnly
/include QRPGLESRC,GDSMBOM1
/include QRPGLESRC,INV050
/include QRPGLESRC,CHKOBJ
/undefine ProtoTypesOnly
___________________________________
Darren Strong
Dekko
From: dlclark@xxxxxxxxxxxxxxxx
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Date: 11/30/2017 03:13 PM
Subject: Re: [WDSCI-L] RDi 9.6 Procedure wizzard
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 11/30/2017 02:50:38 PM:
Here is an example.
Called program:
/if not defined(PrototypesOnly)
ctl-opt Copyright('(C) Copyright Group Dekko Inc.')
ActGrp(*NEW) ExprOpts(*RESDECPOS) DatFmt(*USA)
OPTION(*SRCSTMT:*NODEBUGIO:*NOUNREF) EXTBININT(*YES)
BndDir('ROUTINES/SRVPGM':'QC2LE');
/endif
dcl-pr GDSMBOM1 extpgm;
INPPart char(15) const;
end-pr;
/if defined(PrototypesOnly)
/eof
/endif
Calling program
/define PrototypesOnly
/include QRPGLESRC,GDSMBOM1
/undefine ProtoTypesOnly
OK, I was envisioning that each prototype (and its related
definitions) could be selectively included by the caller -- rather than
all or nothing as is now the case with the way separate copybooks are
done. Thanks.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.