The following syntax represents the declarations available in a WFL job:
<declaration>
──┬─<constant declaration>──────┬──────────────────────────────────────┤ ├─<Boolean declaration>───────┤ ├─<integer declaration>───────┤ ├─<real declaration>──────────┤ ├─<string declaration>────────┤ ├─<file declaration>──────────┤ ├─<task declaration>──────────┤ ├─<subroutine declaration>────┤ └─<global data specification>─┘
Explanation
All declarations in a job must follow the job attribute list and must precede any statements. All declarations in a subroutine must follow the BEGIN statement for the subroutine and must precede any executable statements in the subroutine.
Declarations can occur in any order.