Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing multiple commands

Status
Not open for further replies.

sam93

Programmer
Jul 19, 2002
65
CA
Hi,

I have to execute a couple of commands if a certain condition is true. e.g. If the incoming value is -ve then set value of a mapping variable as well as reject the record with an error. It would be something like this: IIF(in_port_value < 0, (SETVARIABLE($$v_map_var_counter) AND ERROR('Invalid value'))). How can I accomplish this?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top