a service program is a way of packaging together multiple runtime modules, it is the As400 equivalent of a pc .DLL file
they involve some new concepts above and beyond programs, so are fairly complex to get working initially - i would suggest looking at the IBM AS400 RPG manual for details
is there anything specific about these programs you need to know?
Last Wiki Answer Submitted: June 20, 2008 3:57 pm by Teckgeck170 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Service program contains one or more modules, By referencing a service program at the time of creation of a program all the modules that are defined in the service program Export list will be available to the program for binding. Thus we don’t have to list them individually in the CRTPGM command. Any collection of *MODULE objects including the main module can be used to create a service program. But neither the modules nor the service program can be called directly. It is of type *SRVPGM. Once the service program is created, the associated module obj can be deleted.
Service program contains one or more modules, By referencing a service program at the time of creation of a program all the modules that are defined in the service program Export list will be available to the program for binding. Thus we don’t have to list them individually in the CRTPGM command. Any collection of *MODULE objects including the main module can be used to create a service program. But neither the modules nor the service program can be called directly. It is of type *SRVPGM. Once the service program is created, the associated module obj can be deleted.