|
On 9/24/2013 4:00 PM, RPGLIST wrote:
I am getting a compile error that it can't seem to find QTMHRDSTIN:
Message . . . . : Definition not found for symbol 'QTMHRDSTIN'.
Cause . . . . . : No definition was found for reference QTMHRDSTIN in
*MODULE object WEBTEST in library QTEMP. The definition either does
not
exist or is not of the same data or procedure type as the reference.
Recovery . . . : Try the Create Program (CRTPGM) command again,
supply
an object that contains a definition for symbol QTMHRDSTIN.
I have the following copy books included:
0003.00 /copy qrpglesrc,httpapi_h
0004.00 /copy qrpglesrc,ifsio_h
Suggestions?
I've mixed feelings over recommending the WEB400 list because it looks
like you might be looking for help with ILE.
In order to use procedures in a service program you need to let the
linker know where to find that service program. In the case of this
procedure, it's an IBM-supplied procedure in QHTTPSVR/QZHBCGI.
The way I handle these is to create a binding directory (CRTBNDDIR) - I
have one for my entire system. Then add the service program you need to
that binding directory (ADDBNDDIRE). Finally, I have a standard RPG H
spec that I /copy into all of my programs:
h dftactgrp(*no) actgrp('QILE') option(*srcstmt: *nodebugio)
h debug
h bnddir('your_binding_directory_name_goes_here')
Then, compiling with PDM option 14 works without having to fuss with
prompting and remembering what I filled in the last time I compiled
this... :-)
--buck
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.