|
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
___________________________________
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 01:48 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 01:40:51 PM:
Not seeing it on my end. I personally find compiler directives a better
way to bring in prototypes from the actual target program source, rather
than use /copy books to a source member with just a prototype in it
What compiler directive is it that will bring in prototypes from
the actual target program source?
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.
--
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.
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.