End EPM Environments (ENDEPMENV)

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

The End EPM Environment (ENDEPMENV) command is used with extended program model (EPM) languages to delete 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 delete a run-time environment for an EPM language application that you created with the STREPMENV command. See the Extended Program Model User's Guide and Reference for more detailed information on the EPM and this command.

Error messages for ENDEPMENV

None

Top

Parameters

Keyword Description Choices Notes
EPMENV Environment Name Character value, *INACT, *MAIN, *REENT Required, Positional 1
ENVNBR Environment Number 1-65535 Optional, Positional 2
Top

Environment Name (EPMENV)

Specifies which user-controlled environment is to be deleted. You must specify one of the special values (*INACT, *REENT, or *MAIN) or an environment name. There is no default for this parameter.

*INACT
All EPM user-controlled environments that are not invoked are deleted.
*REENT
The reentrant environment with the corresponding ENVNBR is deleted. You must specify a value for ENVNBR if you specify this parameter.
*MAIN
The *MAIN user-controlled environment is deleted.
environment-name
Enter the name of the environment that you want to delete. The environment name must not begin with an asterisk (*).
Top

Environment Number (ENVNBR)

Specifies the environment number for the *REENT environment that is to be deleted. This parameter is only valid if *REENT is specified on EPMENV.

environment-number
Enter the number of the reentrant environment.
Top

Examples

None
Top

Error messages

None

Top