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



Art,

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

The online CL reference works for me;

[ http://publib.boulder.ibm.com/html/as400/v5r1/ic2924/books/c4157214.pdf ]

> 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,

--phil



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