

CA Automation Point Keywords › Keywords for Responding to System Events › DOSCMD Keyword
DOSCMD Keyword
The DOSCMD keyword allows you to issue a workstation operating system command or to execute a command file.
This keyword has the following format:
DOSCMD(cmdtext)
- cmdtext
-
Specifies the text of the operating system command or the name of the command file.
Usage Notes:
- When issuing a command with the DOSCMD keyword, make sure that the command is valid for the operating system targeted to receive it. The DOSCMD keyword passes the command to the current operating system without checking to see if the command works in that environment.
- Make sure that the command or command file can execute completely without input, keystrokes, or other help from an operator.
- CA Automation Point does not directly capture output from the DOSCMD keyword. If you use DOSCMD to issue operating system commands and want to view the output of those commands, redirect the output to disk files.
Example:
Suppose that CA OPS/MVS sends the following message to request CA Automation Point to check the local area network (LAN) for activity:
AXC000I CHECK LAN, PLEASE
The following rule invokes a batch file that checks the LAN and sends the result back to CA OPS/MVS:
MSGID(AXC000I CHECK LAN), DOSCMD(CHECKLAN)
Copyright © 2012 CA Technologies.
All rights reserved.
 
|
|