Start EPM Environment (STREPMENV)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Start EPM Environment (STREPMENV) command is used with extended program model (EPM) languages to create a user-controlled environment. The C/400*, FORTRAN/400*, and Pascal languages are part of the extended program model.

You can use this command to create a run-time environment for an EPM language entry point that you are calling from another language program. See the Extended Program Model User's Guide and Reference for more detailed information on the EPM and this command.

Error messages for STREPMENV

None

Top

Parameters

Keyword Description Choices Notes
EPMENV Environment Name Character value Required, Positional 1
ROOTPGM Environment Program Qualified object name Required, Positional 2
Qualifier 1: Environment Program Name
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Environment Name (EPMENV)

Specifies the name of the user-controlled environment that is to be created. The environment name must be unique.

environment-name
Enter a name for the environment.
Top

Environment Program (ROOTPGM)

Specifies the name of the program and library that contains the environment definition information that is necessary in order to create the EPM run-time environment.

program-name
Enter the name of the EPM language program object that contains the environment definition information.

The possible values for library are:

*LIBL
The library list is searched to locate the specified program object.
*CURLIB
The current library is searched to locate the specified program object.
library-name
Enter the name of the library that contains the specified program object.
Top

Examples

None
Top

Error messages

None

Top