Previous Topic: Directing Commands to z/VM SystemsNext Topic: Using Line End and Escape Characters When Directing Commands to z/VM


Using Command Prefixes to Direct Commands

You can use the SETOPTION CMDPREFIX command in CA MIM for z/VM to specify a command prefix for your z/VM system. The command prefix may be used in place of the MI prefix in the command text when you direct a CA MIM command to a z/VM system.

If you select the symbol @ as the z/VM command prefix, the previous example of the ATTACH command from any z/OS system to VMSYS1 could be entered as follows:

@VMSYS1 @ATTACH UNIT 3480 TO TST390 (SYSTEM

If all systems in your complex use the same CA MIM command prefix, you can issue a cross-system CA MIM command to all systems (z/VM and z/OS) in your complex at the same time. This can be very advantageous when you are controlling several systems from a single console.

For example, to display the status of all the facilities (GTAF, TPCF, and GCMF) running throughout your complex, you would issue the following command from a z/OS system:

@ALL @DISPLAY FACILITIES

Note: Command prefixes are supported in CA MIM for z/VM, but only for cross-system commands directed to z/VM systems. The command prefix cannot be used to issue CA MIM commands on the local system.

For more information on the CMDPREFIX parameter, see the Statement and Command Reference Guide.