Examples
Two examples are provided to help you understand how to use the RUN command, and show the typical results.
Example 1: Use the RUN command to execute an action, RSAMPLE, which sends a "Good afternoon" message to TS3163.
GOMCMD OPMGRM1 DEFACTN NAME RSAMPLE COMMAND 'CP MSG TS3163 GOOD AFTERNOON!!!' ENV LVM
Ready; T=0.01/0.01 04:53:44
GOMCMD OPMGRM1 RUN ACTION RSAMPLE ENV LVM
04:54:03 * MSG FROM OPMGRM1 : GOOD AFTERNOON!!!
Ready; T=0.01/0.01 04:54:03
Example 2: Use the RUN command to execute a Control Program (CP) command to send a "How are you today" message to TS3163 after 1 minute.
GOMCMD OPMGRM1 RUN COMMAND 'CP MSG TS3163 HOW ARE YOU TODAY?' ENV LVM DELAY 01:00 Ready T=0.01/0.01 03:48:08
03:49:08 * MSG FROM OPMGRM1 : HOW ARE YOU TODAY?