> I'm looking for a good reference for CL language.

The online CL reference works for me;

[ ]

> Now to link this service program to a CL program, hopefully that would
> probably solve this issue. I am kind of new at this and have
> been stumbling on the CL language part to bring this all together.

To use *SRVPGMs, you need to be using ILE/CL (CLLE member types) obviously,
and the CALLPRC command (explained in the above book chapter 3).

If this (and it probably will) is a non-os400 *SRVPGM you are trying to bind
your ILE/CL program to, you'll need to use the two-step compile & bind
approach. To do this, use CRTCLMOD then use CRTPGM, filling in the blanks
for your module and library information. On the CRTPGM command there is a
parameter (BNDSRVPGM) for listing *SRVPGMs (such as the Vertex *SRVPGM) to
search & bind to for external procedures.

Hope this helps,


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.