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



On Thu, Aug 3, 2017 at 2:46 PM, Dan <dan27649@xxxxxxxxx> wrote:

I am attempting to refamiliarize myself with creating service programs from
scratch. I found
http://www.mysamplecode.com/2011/07/rpgle-service-program-
example-iseries.html
and copied all the source code verbatim into a new test library's
QRPGLESRC.

When I attempt to compile the test program that calls the service program,
the compile listing shows zero errors but "Errors were found during the
binding step. See the job log for more information." The job log shows:
CPD5D1D *SRVPGM object QZDMMDTA in library QSOC not found.
CPD5D02 Definition not found for symbol 'ADD'.
CPD5D02 Definition not found for symbol 'DIVIDE'.
CPD5D02 Definition not found for symbol 'MULTIPLY'.
CPD5D02 Definition not found for symbol 'SUBSTRACT'.
RNS9301 Program MATHTEST in library TESTMATHSP not created.



​Check the MATHTEST sourece, do you have the first line...
h option(*nodebugio) bnddir('MATHDIR') ​




I have no idea what QZDMMDTA has to do with anything. Object
​​
QZDMMDTA does
not exist on my system, nor does library
​​
QSOC.


​Don't worry about it...the compiler tries to include a default set of IBM
supplied binding directories

QSOC is OptiConnect.



It is interesting to note that, following the CRTSRVPGM command, CPD5CDC
was issued:
Message . . . . : TESTMATHSP/QRPGLESRC.MATHBNDSRC line 1: ********
Signature padded to
'MYMATH'
Cause . . . . . : The signature of an export block has been padded to
'MYMATH'. This warning occurred while compiling line 1 of binder language
source MATHBNDSRC in file QRPGLESRC in library TESTMATHSP while attempting
to create service program MATH in library TESTMATHSP.
Recovery . . . : No recovery required. The padded signature will be
used to create the service program.

I have no idea if that impacted the compile of the MATHTEST program.

Ideas appreciated!


​Again, don't worry about it. Signatures are always 32(?) characters...​

Charles

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