How data is passed to the EXEC


The REXX EXEC receives data to perform its task through the ARG statement. BMC AMI Ops Automation uses these parameters to pass values to an EXEC when the EXEC is scheduled.

The information passed through the ARG statements varies, depending on the way the EXEC is scheduled. For example, an EXEC can be scheduled by a Rule or by a user and the values passed to the EXEC for these two methods are different.

The ARG statement syntax is

[UPPER] ARG [template]

where

  • UPPER (optional) forces translation of any character string to uppercase. If UPPER is not specified, no translation takes place.


UPPER

(optional) Forces translation of any character string to uppercase

If UPPER is not specified, no translation takes place.

ARG

Instructs REXX to process the arguments passed to this REXX EXEC

template

Describes the rules to be used in parsing the input parameters

The template is a list of symbols separated by blanks or patterns or both.

This section contains the following topic:


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*