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 comparison
    ...
    UDM commands
    ...
end


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 readability; you can indent lines in your own scripts if and as you see fit.

Detailed Information

The following pages provide detailed information for the Universal Data Mover if statement: