Considerations for service programs

This topic describes differences between ILE programs and ILE service programs.

Previous discussions apply to both ILE programs and ILE service programs. The most important difference between an ILE program and an ILE service program is related to message handling. The service program does not have a PEP.

The PEP is not necessary for any of the options used to identify a base entry. An exception to this is when the name _CL_PEP is used explicitly. For example, TOPGMQ(*PRVĀ *PGMBDY) always sends a message to the caller of the ILE program or service program. If it is an ILE program, the PEP is identified as the base by the *PGMBDY value. If it is an ILE service program, the entry for the first procedure called in the service program is identified by the *PGMBDY value.