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



Thanks all!

That clarifies immensely

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Thursday, November 16, 2023 12:01 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] UPDSRVPGM

So I created a new service program called ASTVVR4 yesterday. It had one module called ASTVVCUST. All is working
Today I created/compiled a new module that I would like to ADD to the service program ASTVVOE.

Using a binding directory and binder source.

So I thought I could use UPDSRVPGM to add the new modules and procedures.
UPDSRVPGM SRVPGM(ASTHHOBJ/ASTVVR4)
MODULE(ASTHHOBJ/ASTVV*) EXPORT(*SRCFILE) SRCFILE(ASTHHSRC92/QSRVSRC)
BNDDIR(ASTBIND)

Both modules and the existing service program are in library ASTHHOBJ.

Message ID . . . . . . : CPF5CE4 Severity . . . . . . . : 20
Message type . . . . . : Diagnostic

Message . . . . : Constituent module ASTVVOE not found.
Cause . . . . . : Constituent module ASTVVOE originally from library
ASTHHOBJ was specified to be replaced. It was not found in bound program or
service program ASTVVR4 in library ASTHHOBJ.
Recovery . . . : Use the Display Program (DSPPGM) or Display Service
Program (DSPSRVPGM) command to identify the constituent module to be
replaced. Then reissue the Update Program (UPDPGM) or Update Service
Program (UPDSRVPGM) again specifying the correct constituent module.

So my question is this...
If UPDSRVPGM won't work when adding a module, do I need to delete and recreate the SRVPGM?
Would I need to recompile all the programs that reference it?

I have a similar service program (7 modules) - I don't recall having to do the latter.

Thanks,
Greg

[Logo]<https://www.totalbizfulfillment.com/> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
1 Corporate Dr
Grantsville, MD 21536
www.totalbizfulfillment.com<http://www.totalbizfulfillment.com>
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.




[CAUTION! This email originated outside of the organization. Please do not open attachments or click links from an unknown or suspicious origin.]


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.