/
Universal Data Mover - if Statement

Universal Data Mover - if Statement

if Statement Overview

The if statement is used to add conditional branching of UDM commands.

An if statement consists of:

  • Comparison operation.
  • Series of UDM commands that are carried out if the comparison operation evaluates to true.
  • end statement that indicates the end of the if statement.

For example:


If the comparison does not evaluate to true, UDM will pick up execution from the line after the end statement.

Note

The indentation of commands underneath the conditionals is not required in UDM. This is done for the sake of re