Chapter 9. IBM Web Services Client for ILE (RPG, C, C++, COBOL) 217
3. Right-click RPGTEST.RPGLE and select Compile CRTRPGMOD as shown in
Figure 9-20.
Figure 9-20 Compile RPG module
9.2.7 Compiling C modules and Create service program
On the 5250 session, issue the following command to create the C modules and to add all
modules to a single service program:
1. On the 5250 command line issue the following commands to create the C modules:
CRTCMOD MODULE(RPGTEST/RPGWSC) SRCSTMF('/home/itso/RESERVEFLIGHTServices.c')
INCDIR('/qibm/proddata/xmltoolkit/WSCI-1.0-os400/include')
CRTCMOD MODULE(RPGTEST/RPGWSC1) SRCSTMF('/home/itso/RESERVEINFO.c')
INCDIR('/qibm/proddata/xmltoolkit/WSCI-1.0-os400/include')
CRTCMOD MODULE(RPGTEST/RPGWSC2) SRCSTMF('/home/itso/RESERVEFLIGHTInput.c')
INCDIR('/qibm/proddata/xmltoolkit/WSCI-1.0-os400/include')
CRTCMOD MODULE(RPGTEST/RPGWSC3) SRCSTMF('/home/itso/RESERVEFLIGHTResult.c')
INCDIR('/qibm/proddata/xmltoolkit/WSCI-1.0-os400/include')
Note: Errors encountered in the compile process display in the iSeries Error List.
Double-clicking an error takes you to the exact position of the error in the source code.
Important: You can ignore all informational messages with a severity of zero (0).

Get Building SOA-based Solutions for IBM System i Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.