How to Remove a System from the MIMPLEX when COMMUNICATION=DASDONLY

The REMOVE Command is no longer supported beginning with release 12.0. This procedure shows you how to hide an old system using the ALTERSYS command.
cmfzs125
The REMOVE Command is no longer supported beginning with release 12.0. This procedure shows you how to hide an old system using the ALTERSYS command.
Following is the current DEFSYS:
 DEFSYS (GK03,03,XE03,INIT=FREED),        (GK13,13,XE13,INIT=FREED),        (GK23,23,XE23,INIT=FREED),        (GK49,49,XE49,INIT=FREED),        (GK62,62,XE62,INIT=FREED)
 In this example, your goal is to remove the GK49 from the MIMPLEX:
1.Ensure that the GK49 is currently FREED:
 @D SYSTEMS                                                                GPK0067I Command DISPLAY 026                                          GPK0108I SYSTEMS DISPLAY                                                  INDEX ALIAS SYSTEM   RELATION STATUS      OPSYS     LAST ACCESS        01    03   GK03     EXTERNAL ACTIVE      zOS  2016.116 09:44:01.92     02    13   GK13     LOCAL    ACTIVE      zOS  2016.116 09:44:01.93     03    23   GK23     EXTERNAL FREED                                    04    49   GK49     EXTERNAL FREED                                    05    62   GK62     EXTERNAL FREED 
2.Enter the ALTERSYS command to change the status to DISABLED
 @ALTERSYS GK49,STATUS=DISABLED                   GPK0067I Command ALTERSYS 036                   GPK0712I Processing ALTERSYS command...         GPK0706I System GK49 attribute altered: DISABLED GPK0711I ALTERSYS Command Succeeded               
3.Next, verify that the system is now hidden from the DISPLAY SYSTEMS command output:
 @D SYSTEMS                                                           GPK0067I Command DISPLAY 249                                          GPK0108I SYSTEMS DISPLAY                                                 INDEX ALIAS SYSTEM   RELATION STATUS      OPSYS     LAST ACCESS        01    03   GK03     EXTERNAL ACTIVE      zOS  2016.116 09:46:24.89     02    13   GK13     LOCAL    ACTIVE      zOS  2016.116 09:46:24.94     03    23   GK23     EXTERNAL FREED                                     05    62   GK62     EXTERNAL FREED 
 Note
that system GK49 is now missing from the display.  GK49 is still in the control file, but beginning with 12.1 GA, systems that are DISABLED are hidden from the DISPLAY SYSTEMS command.
 4. If you really want to see all systems, including DISABLED, enter the following command:
@D SYSTEMS=STATUS=BOTH                                                GPK0067I Command DISPLAY 227                                          GPK0108I SYSTEMS DISPLAY                                                 INDEX ALIAS SYSTEM   RELATION STATUS      OPSYS     LAST ACCESS        01    03   GK03     EXTERNAL ACTIVE      zOS  2016.116 09:45:57.89     02    13   GK13     LOCAL    ACTIVE      zOS  2016.116 09:45:57.90     03    23   GK23     EXTERNAL FREED                                    04    49   GK49     EXTERNAL DISABLED                                 05    62   GK62     EXTERNAL FREED  
 5. Next, update necessary MIMPARMS, including:
Remove the checkpoint file allocation(if used)
>Remove any IFSYS statements(if used)
>Do *not* remove the old system from the DEFSYS statement as this may cause inconsistencies between the control file and the checkpoint file. If the MIA GTAF facility is in use, consider changing SET GTAF GLOBALDIAPLAY (FREE=NO)
This procedure hides the old system from the DISPLAY SYSTEMS command. If you want to completely remove the system from the control file, you will need to update the DEFSYS statement and restart MIM globally with a control file format.