7.28.1 DEF_MTH_EX Parameters

ENTRYPOINT

MODULE

NAME

NAME

The name of the external method as used within RDML

MODULE

Specifies the name of the external object (program or service program on IBM i) which is to be executed. This parameter is a qualified name. If required, the library in which the external object resides can also be specified. If no library is specified, library *LIBL is assumed which indicates the execution time library list of the job should be searched to find the program or service program.

The use of library names in an DEF_MTH_EX command is not recommended. For further information, refer to Specifying File Names in I/O Commands.

Portability Considerations

The DEF_MTH_EX command is only supported in RDMLX on IBM i. An error will occur at execution time if run on any other platform. Code using this facility can be conditioned so that it is only executed on this platform.

 

ENTRYPOINT

Specifies the entry point for the DEF_MTH_EX execution.

ENTRYPOINT not being specified means that the DEF_MTH_EX is executing a program.

ENTRYPOINT being specified means DEF_MTH_EX is executing a procedure within a service program.

ENTRYPOINT is case sensitive. PROCEDURENUMBER1 is different to ProcedureNumber1 is different to procedurenumber1.