Removing extended MCS console definitions from a configuration

You can delete the definition of any extended MCS console, thus freeing the ID and console name that had been assigned to the extended MCS console. The system then can reuse that ID for a newly-defined extended MCS console.

There are two ways in which you can delete a console definition. The first, and preferred way, is to use the SETCON DELETE command. For example, to delete an extended MCS console named EMCSSY1, issue:
SETCON DELETE,CN=EMCSSY1
For more information about the SETCON DELETE command, see z/OS MVS System Commands.

The second way to remove a console definition is to assemble and link the sample source code for program IEARELEC in SYS1.SAMPLIB. Sample invocation of IEARELEC describes the sample job for invoking the console service. The programming environment, and the return and reason codes for invoking the console service are described in the sample program prologue.

The following restrictions for removing an extended MCS console apply: