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



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Thanks Phil and Buck. I think I'm going in the right direction.
1. I need a CRTCLMOD of all the modules, which is equivalent of a Makefile
in Unix.
2. Create a *BNDDIR type for the drivers in the Makefile (CRTCLMOD) which is
the equivalent of a -L linker directive in Unix. 3. Then CRTCLPGM to compile
the CLMOD created in step 1, CRTCLMOD.
When the CLPGM is executed it will create the tax driver.
That's the basic plan.
Art


-----Original Message-----
From: Hall, Philip [mailto:phall@spss.com]
Sent: Tuesday, November 27, 2001 10:54 AM
To: 'c400-l@midrange.com'
Subject: RE: [C400-L] CL


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

_______________________________________________
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l
or email: C400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.


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.