Automatic actions may consist of native z/OS commands as well as scripts or programs. z/OS commands may be incorporated into scripts by using the ev390hostcmd utility, which is located in the /bin subdirectory of the Ironstream installation path. The format of ev390hostcmd is:
ev390hostcmd <type> <command.{}<zOS_node>
where:
|
Examples:
- Send a VTAM command to the mainframe named myhost.mysite.com to display the major nodes:
ev390hostcmd 30 DISPLAY NET,MAJNODES.myhost.mysite.com
- Send an MVS command to the mainframe named myhost.mysite.com to display the system time:
ev390hostcmd 40 D T.myhost.mysite.com
- Send an MVS command to the mainframe named myhost.mysite.com to start a job named MYJOB with a job identifier of MYIDENT (note that the period between MYJOB and MYIDENT must be doubled to signify that it is not the end of the command):
ev390hostcmd 45 S MYJOB..MYIDENT.myhost.mysite.com