×
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.
1). Code modules as normal in source files, (QRPGLESRC, QCLSRC, etc.)
2). Compile module source to create *MODULE objects using CRTxxxMOD
command(s)
3). Code Binder Language (usually in QSRVSRC)
4). Bind required *MODULE objects into Service program (*SRVPGM)
referring
to Binder Language in QSRVSRC on the CRTSRVPGM.
5). Bind required *MODULES and *SRVPGM objects into final Program (*PGM)
using CRTPGM
IF you wish to use Binding Directories (*BNDDIR) to streamline (4) and
(5), reference on CRTSRVPGM and/or CRTPGM commands. For RPG IV only,
you
can specify the *BNDDIR in the H-spec using the BNDDIR keyword. No such
facility for CL.
NOTE: I suggest CRTBNDxxx commands (PDM Option 14.) be reserved for
non-ILE compile/bind.
When adding new procedures, (to an existing or new *MODULE) for
external
use you should amend the list of Procedure Exports. Add new procedure
names (Exports) to the END of the Exports Symbols listed in the Binder
Language.
</snip>
May I suggest you take a look at my make tool Compile at
www.think400.dk/downloads.htm?
I have found that trying to do ILE development without a make tool is
extremely difficult. As you can see, you do not need binding directories
and all the instructions for how to create the object are stored in the
header.
All that is required is to do a CO or IN to create the object.
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.