695 pts.
 How to add one Module to the existing Service Program
Hi, I want to add or append one new module called 'C' to the already existing service program(SRVPGM) For Example: I have one service program called SRVPGM consits of 2 Modules are A, B. Now i want to add one new Module called 'C' to SRVPGM. how can i do this ?

Software/Hardware used:
ASKED: February 26, 2009  12:18 PM
UPDATED: March 3, 2009  11:50 AM

Answer Wiki:
First go to: <a href="http://www.itjungle.com/mpo/mpo092503-story02.html"></a> <a href="http://www.itjungle.com/mpo/mpo102303-story02.html"></a> <a href="http://www.itjungle.com/mpo/mpo120403-story01.html"></a> Then look at the code below. STRPGMEXP PGMLVL(*current) EXPORT SYMBOL(module_a) EXPORT SYMBOL(module_b) EXPORT SYMBOL(module_c) ENDPGMEXP STRPGMEXP PGMLVL(*PRV) EXPORT SYMBOL(module_a) EXPORT SYMBOL(module_b) ENDPGMEXP For some reason the links are not coming through. Here they are again. Just copy and paste them to your broswer. http://www.itjungle.com/mpo/mpo092503-story02.html http://www.itjungle.com/mpo/mpo102303-story02.html http://www.itjungle.com/mpo/mpo120403-story01.html
Last Wiki Answer Submitted:  February 26, 2009  8:05 pm  by  Teandy   5,830 pts.
All Answer Wiki Contributors:  Teandy   5,830 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

hi,
Thanks alot for your great information about Service programs.

However i have small question about it,

i have service program called “MYSRVPGM” consists of Modules ‘A’,'B’
once these modules(A, B) bound to service program(MYSRVPGM), in the above link they have mentioned that we can delete our modules which are already bounded with service program.

Assume that i have deleted A, B modules after bound with Service program.

Next time if i want to add one extra module ‘C’ to the MYSRVPGM, i dont have objects(A, B) of type *MODULE since i have deleted those objects from my library, without recreating MYSRVPGM with module ‘C’ is there any way to update my existing service program with module ‘C’ ?

 695 pts.

 

No, you must recreate the service program to include the new module. The second article in the list I gave you goes over this in more detail.

This is why I do not delete the module objects. But then, we are only use 18 % of 1.2 TB so space is not really a problem. However, if you are concerned about disk space, just recompile the deleted modules, recreate the service program and then deleted the module objects again.

 5,830 pts.

 

Thanks for your valuable informayion.

 695 pts.