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.