UPDSRVPGM not updates Main PGMs

Tags:
AS 400
ILERPG
As per my assumption UPDSRVPGM doesn't require UPDPGM once you made any changes to any particular module attached to service program(having Binder language). But it seems i am wrong. Everytime i make any changes to child module(containing PI of the procedure), along with UPDSRVPGM, i also need to execute UPDPGM to reflect those changes. Am i correct pls elaborate if no? If it require UPDPGM too, then i need to issue UPDPGM command to all those programs using this changed module which seems not good.
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    The question doesn't make sense. It seems to refer to modules that are bound to service programs (*SRVPGM objects) in addition to modules that are bound into stand-alone programs (*PGM objects).

    Modules should be in either *SRVPGMs or *PGMs, but not in both. While they can be in both, that creates a maintenance nightmare.

    Except for that circumstance (which you shouldn't allow), there's no need to run both UPDSRVPGM and UPDPGM when a *MODULE object is changed.
    34,320 pointsBadges:
    report
  • Thunderbolt
    Thanks @Raven... All the child modules are bound to Service programs. Only the PEP module(Main module contains child Proc(p1) in module( m1) calling p1..and so on....) is bound to Program(*PGM). Could you pls correct me if you mean that the Main module(which doesn't conatin any logic but just calling proc in other modules) should also include in *srvpgm object?? Pls clarify.  
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: