Previous Topic: Issuing Cross-System Commands from a z/VM SystemNext Topic: Directing Commands to z/OS Systems


Defining Command Groups

You can use the DEFALIAS command to define site-specific keywords that represent a group of system IDs. When issuing cross-system commands to those systems, use the defined alias keyword instead of listing system IDs separately.

For example, you could issue the following DEFALIAS command to establish a keyword, VMSYS, which represents the z/VM systems VMSYS1, VMSYS2, and VMSYS3:

DEFALIAS VMSYS (VMSYS1,VMSYS2,VMSYS3)

Then, on cross-system commands, specify VMSYS instead of listing VMSYS1, VMSYS2, and VMSYS3. For example, on one z/VM system you could issue this command to query tape drives on all z/VM systems:

MI VMSYS QUERY TAPES ALL