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



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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.