REPLY Macro

The REPLY macro replies to an outstanding write-to-operator with reply (WTOR) message. The reply can be to one of the following:

The REPLY macro lets you specify message rules to detect any expected response messages.

Parameters: REPLY Macro

Returned Variables: REPLY 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: REPLY Macro

In the following example, the REPLY macro is used to reply to the WTOR message identified by the following text string:

T00IJ013R CONFIRM REQUEST TO STOP A/S

PROD------ Automation Services : REPLY Macro Parameter Definition ------------- Command ===> Function=UPDATE .- WTOR Identification -------------------------------------------------------. | Last WTOR? Or Jobname And/Or WTOR Message Text | | ___ (Yes) ________ T00IJ013R CONFIRM REQUEST TO STOP A/S_________ | '-----------------------------------------------------------------------------' .- Reply Text ----------------------------------------------------------------. | | | Reply.... Y________________________________________________________________ | '-----------------------------------------------------------------------------' .- Response Message Analysis -------------------------------------------------. | D=Delete Extended Filter S=Extended Filter | | Message Text R/Code E/Filter | | ___ T00IJ014I____________________________________ _0_ | | ___ _____________________________________________ ___ | | ___ _____________________________________________ ___ | | ___ _____________________________________________ ___ | | ___ _____________________________________________ ___ | | | | Wait Time 30__ Wait Time Expiry Return Code 69_ |


Copyright © 2010 CA. All rights reserved.