opqry/5—retrieve the sequence number and arguments for an existing operation
The opqry/5 function retrieves the sequence number and arguments for an existing operation. The syntax for this function is as follows:
opqry/5 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$EVENT | Input | OBJECT | Specifies the event associated with the operation |
$POLICY | Input | STRING | Specifies the policy name of the operation |
$ACTION | Input | STRING | Specifies the action of the operation |
$SEQNR | Output | INTEGER | The sequence number for the operation, if the operation exists |
$ARGS | Output | STRING | The arguments for the operation, if the operation exists |
Use the opqry/5 function to obtain the arguments for an existing operation designated by $EVENT, $POLICY, and $ACTION and return the arguments for that operation in $ARGS and the sequence number for that operation in $SEQNR.
If the specified operation does not exist, an empty string is returned.