The VMCMD command issues a VM command that can be executed from a VM command line.
This command has the following format:
ADDRESS LXCON "VMCMD keywords"
{COMMAND('cmd text')}
{VMNODE(vm name)}
[LOG(Y|N)]
[STEM(stem)]
[WAIT(seconds)]
[DELAY(seconds)]
This required keyword defines the text of the VM command. This keyword can be up to 2048 characters in mixed case.
Defines the name of a VM system to which you want to send the command.
(Optional) Specify the LOG, STEM, WAIT, and DELAY keywords. These keywords have the same meaning as the ADDRESS USS Common Keywords.
Example: Issue command to a Linux system
This command lists active processes on a Linux system that is a VM guest machine and returns the response lines in stem variables with the stem name LXCMD. LXCMD.0 is set to the number of lines returned. The command waits up to 30 seconds for the response.
ADDRESS LXCON “LXCMD LXNAME(LINUX113) VMNODE(ZVM002) COMMAND(‘ps -e’) STEM(LXCMD.) WAIT(30)”
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|