Export Parameter Used with Source File and Source Member Parameters

The default value on the export parameter is *SRCFILE. If *SRCFILE is specified on the export parameter, the binder must also use Start of changeeitherEnd of change the SRCFILE and SRCMBR parameters Start of changeor the SRCSTMF parameterEnd of change to locate the binder language source.

The following example command binds a service program named UTILITY by using the defaults to locate the binder language source:
CRTSRVPGM SRVPGM(*CURLIB/UTILITY)
          MODULE(*SRVPGM)
          EXPORT(*SRCFILE)
          SRCFILE(*LIBL/QSRVSRC)
          SRCMBR(*SRVPGM)

For this command to create the service program, a member named UTILITY must be in the source file QSRVSRC. This member must then contain the binder language source that the binder translates into a signature and set of export identifiers. The default is to get the binder language source from a member with the same name as the name of the service program, UTILITY. If a file, member, or binder language source with the values supplied on these parameters is not located, the service program is not created.