Jim,

Sorry, no go yet. I just got a chance to try a number of variations on
this theme and I'm still getting that MCH3401 looking for a *PGM object.
Thanks for the ideas, guess I'll have to keep poking around.

Rich Loeber
Kisco Information Systems
http://www.kisco.com

--------------------------------------------------------------------------

Jim Essinger wrote:

Rich,

From the ILE COBOL Reference for V5R4 (SC09-2539-05) found at the
Information Center - IBM:

"If the linkage is to an ILE procedure, then literal-1 must be
nonnumeric and at most 256 characters long. Depending on the compiler
option *MONOPRC, literal-1 might need to be uppercase and conform to
the rules for formation of program-names. The literal must specify the
program-name of the called subprogram"

I would think that;

CALL "programName" LINKAGE TYPE PROCEDURE

would do what you need. Check that compiler option to make sure it is
set correctly.

Jim

On Fri, Sep 19, 2008 at 7:53 AM, Rich Loeber <rich@xxxxxxxxx> wrote:


Hello Cobol fans .... I'm dabbling today (for a client) in an ILE program
that needs to call an ILE procedure. It is a simple call passing a few
parameters. The ILE procedure is in a service program and the procedure
name is 11 characters in length. I'm using the "CALL PROCEDURE" command
to call it, but whenever I run it, it drops the last character from the
procedure name and tries to call a program. Not finding it, it fails on
an MCH3401. The service program is specified in a binding directory that
is included when the program is compiled.

I'm pretty green with ILE COBOL .... I know I'm missing something but the
manuals that I have are somewhat less than helpful.

Any suggestions?

Rich Loeber
Kisco Information Systems
http://www.kisco.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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