Production Reporting Language Syntax Abbreviation Conventions

Table 2. Syntax Abbreviation Conventions

Abbreviation

Description

Example

any_col

A column of any type.

&string &number &date

date_col

Date or datetime column retrievable from a database.

&date1

num_col

Numeric column retrievable from a database.

&price

txt_col

Text column retrievable from a database.

&address

any_lit

A literal of any type.

'abc' 12

int_lit

Integer literal defined in a program.

12345

num_lit

Numeric literal defined in a program.

12345.67

txt_lit

Text literal defined in a program.

'Company Confidential'

any_var

A variable of any type.

$string #number $date

date_var

A variable explicitly defined as a date variable.

$date1

num_var

Numeric variable defined in a program.

#total_cost

txt_var

String variable defined in a program.

$your_name

nn

Integer literal used as an argument to a command.

123

position

The position qualifier, which consists of the line, column, and length specification. The minimum position, (), means to use the current line and column position on the page for the length of the field being printed.

(5,10,30)