Call an EXE file from Automation Point
search cancel

Call an EXE file from Automation Point

book

Article ID: 47323

calendar_today

Updated On:

Products

Automation Point

Issue/Introduction

Automation Point users may want to invoke an external EXE file stored in the Windows File system under certain conditions (e.g. a MSGID is detected by the rules engine). This article describes an approach for invoking the EXE from a MSGID rule.

Environment

All Supported Windows Server environments

Resolution

To accomplish calling an EXE stored in MyFiles\Rexx directory whenever the AP rules engine detects a MSGID from a message that occurs on a host console being monitored by an Automation Point console session, use the REXX keyword in your MSGID rule, e.g:

MSGID(xxxxx) REXX(rexxname parms)

First write a REXX program that invokes the ADDRESS 'CMD' command processor to call the EXE.
Here's an example of what the key ADDRESS CMD command might look like in your REXX program:

ADDRESS "CMD NAMEOFYOUREXE parm1 parm2"