PARAMETER Command

PARAMETER — Declare parameters for passed values into a logic block.

Synopsis

PARAMETER data_dictionary_name [data_dictionary_name...]

Introduction

The PARAMETER command declares parameters for values which are passed into a logic block as arguments. The values will be assigned to local variables.

Arguments

data_dictionary_name

Data Dictionary item which can hold the value passed into a logic block as an argument. If uncompatible data formats are used (ie alphanumeric value into a numeric local variable), the results will be unpredicatable. The passed values will be available as Local Variables (L-) within the logic block.

Example

PARAMETER CustomerNumber Date

LET L-Totals = CALL GetOrderCustomer L-CustomerNumber L-Date

RETURN L-Totals

Related Commands

CALL RETURN