Reputation: 787
Can someone explain the conceptual difference between UPDSRVPGM and CRTSRVPGM in the ile concepts. I mean to say why can't we always use CRTSRVPGM, why is there a need or advantage to use UPDSRVPGM.
Upvotes: 0
Views: 464
Reputation: 23783
You can always use CRTSRVPGM...In fact I recommend doing so as some of the meta data in the *SRVPGM object is not updated when UPDSRVPGM is used.
The only real advantage to UPSRVPGM is when your *SRVPGM consists of multiple modules and your change management process has one or more of the following issues:
In those case if you have a *SRVPGM made up of 5 modules, and you need to make a change to a single procedure in one of the modules. You can make the change, then use CRTxxxMOD and UPDSRVPGM to update that single module inside the existing service program.
Upvotes: 2