On 26/01/2010, at 4:56 AM, Jonathan Keeney wrote:
Message ID . . . . . . : CPF5D0D
Date sent . . . . . . : 01/25/10 Time sent . . . . . . : 09:51:22
Message . . . . : Service program PRICESRV not found in library JKLIB.
The second-level text of that message is fairly clear:
Cause . . . . . : Service program &1 can not be found in library
&2. When
processing an update request, the bound service programs are
searched for in
their original libraries. If they are not found, the update
command could
fail.
The original library will be used even if the binding directory
specified *LIBL. The compiled object (*PGM or *SRVPGM) tracks the
library in which an object used to resolve external references was
found.
Since you neglected to show the command you use to perform the update
I presume it is:
UPDSRVPGM ORDERSRV MODULE(repl-mod)
I expect that binding to external objects on an update operation is
necessary only if new unresolved references are found you may be able
to resolve the issue by specifying the additional service program on
the update command. For example:
UPDSRVPGM ORDERSRV MODULE(repl-mod) BNDSRVPGM(*LIBL/PRICESRV)
or perhaps:
UPDSRVPGM ORDERSRV MODULE(repl-mod) BNDDIR(bind-dir)
I'm not sure if this will work-around the problem. The error message
is quite specific that an update operation will use the original
object library.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.