Service program (SRVPGM)

A service program (SRVPGM) is an Integrated Language Environment® (ILE) object that provides a means of packaging externally supported callable routines (functions or procedures) into a separate object.

Bound programs and other service programs can access these routines by resolving their imports to the exports provided by a service program. The connections to these services are made when the calling programs are created. This improves call performance to these routines without including the code in the calling program.

Note: For more details regarding the business object attributes for PGM operation, refer to the section Business object attributes for operations.

Service program conditions

The SRVPGM conditions are:

Service program constraints

The programs or service programs created using the new features available to the V5R4 compilers can be executed only on a V5R4 OS/400® operating system. Though the compilers generate back-level objects, these objects are limited to the OS/400 and IBM® i operating systems.




Feedback

(C) Copyright IBM Corporation 2005, 2012. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)