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



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.

I have no idea what QZDMMDTA has to do with anything. Object QZDMMDTA does
not exist on my system, nor does library QSOC. We are at v7r1, mostly up
to date on TRs and PTFs. (FWIW, I have all of the special authorities on
my profile, including *ALLOBJ, so if either the object or library existed,
I think it would show up on WRKOBJ.)

Google was not my friend. It turned up several hits, but none seemed to
apply to my situation.

FWIW, here is my build CL:
Pgm

Addlible TESTMATHSP *first
MonMsg CPF2103

CRTRPGMOD MODULE(TESTMATHSP/MATH) +
SRCFILE(TESTMATHSP/QrpgleSRC) SRCMBR(MATH) +
DBGVIEW(*ALL) REPLACE(*YES)

CRTSRVPGM SRVPGM(TESTMATHSP/MATH) +
MODULE(TESTMATHSP/MATH) +
SRCFILE(TESTMATHSP/QRPGLESRC) +
SRCMBR(MATHBNDSRC)

CRTBNDDIR BNDDIR(TESTMATHSP/MATHDIR) TEXT('Binding +
directory for MATH service program')

ADDBNDDIRE BNDDIR(TESTMATHSP/MATHDIR) OBJ((MATH *SRVPGM))

CRTBNDRPG PGM(TESTMATHSP/MATHTEST) +
SRCFILE(TESTMATHSP/QRPGLESRC) +
SRCMBR(MATHTEST) REPLACE(*YES)

Endpgm

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!

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.