SYSCMD Macro

The SYSCMD macro issues a system command and interprets the results. It lets you specify message rules to detect the required response message.

Parameters: SYSCMD Macro

Returned Variables: SYSCMD Macro

For example, if the response to a command consists of three messages A, B, and C, and message B satisfies the message rules, then:

Example: SYSCMD Macro

In the following example, the SYSCMD macro issues the S DENMIMS1 command and awaits a specified response.

No extended filter has been defined in this example.

PROD----- Automation Services : SYSCMD Macro Parameter Definition ------------- Command ===> Function=BROWSE .- System Command ------------------------------------------------------------. | | | Command ..... S DENMIMS1 | | | | Jobname ..... | | | | Wait Time ... 5 Wait Time Expiry Return Code ... 0 | '-----------------------------------------------------------------------------' .- Response Message Analysis -------------------------------------------------. | S=Extended Filter | | Message Text Return Extended | | Code Filter? | | ___ IEF403I DENMIMS1 DENMIMS1 0 NO | | ___ IEF450I DENMIMS1 DENMIMS1 6 NO | | ___ | | ___ | | ___ | | | '-----------------------------------------------------------------------------' F1=Help F2=Split F3=Exit F9=Swap


Copyright © 2010 CA. All rights reserved.