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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.