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



No they don't, binding step just looks at the procedure names.

If the parms don't match, and you're lucky, at run-time you'll get an error.

If you're not lucky, no error would be thrown and you'll just get something
funky somewhere.

Charles



On Thu, May 17, 2018 at 1:05 PM, Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx
wrote:

It's not enough for the names to match, at call time the argument types
must match.

On Thu, May 17, 2018 at 1:02 PM, Dan <dan27649@xxxxxxxxx> wrote:

This is my first go at using a CLLE program to call a procedure from a
service program.

CALLPRC PRC('EmployeeAuthorizationStatus') +
PARM((&USERID) (&THISPGM) (&MEMP_FND) +
(&MGA_FND) (&GALVL1PGM) (&GALVL2FLD) +
(&EMPEMAIL))

The EmployeeAuthorizationStatus procedure is in service program CA9800,
using that exact case. The binder source has:
Export Symbol( EmployeeAuthorizationStatus )

This procedure is currently being used in other RPGLE programs.

Using CRTCLMOD, I created the module just fine. My CRTPGM command:
CRTPGM PGM(DANLIB/CA8560CT$2) MODULE(DANLIB/CA8560CT$2)
BNDSRVPGM((CALIB/CA9800 *DEFER)) BNDDIR(CALIB/CABNDDIR) DETAIL(*EXTENDED)
... generates the following messages:
CPD5D1D: *SRVPGM object QZDMMDTA in library QSOC not found.
CPD5D02: Definition not found for symbol 'EmployeeAuthorizationStatus'.
(Cause: No definition was found for reference EmployeeAuthorizationStatus
in *MODULE object CA8560CT$2 in library DBALEBULK2. The definition either
does not exist or is not of the same data or procedure type as the
reference. <-- I HAVE NO IDEA WHAT THIS MEANS.)
CPF3C50: Program CA8560CT$2 not created.

I have no idea where QZDMMDTA comes from. In another thread, Buck has
suggested that I should treat this as a red herring. That same thread
discussed the CPD5D02: Definition not found for symbol error, but that
was
for an RPGLE program.

Ideas?

- Dan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD




--
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.