18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LEFT.ALIGN (LA)<br />

Examples<br />

Example 1<br />

alphanumeric item<br />

The receiving alphanumeric data item. If the data item is negative, a leading minus sign will<br />

be moved to the data item.<br />

RETAIN.ZERO;<br />

If specified:<br />

$ A zero value is output as a single left-aligned zero, provided a decimal character value<br />

is not specified.<br />

$ A zero value is output as the decimal character followed by the number of zeros<br />

specified by the DECIMALS Data Attribute when a decimal character is also specified.<br />

$ It has no effect with non-zero values.<br />

If not specified, zero values are output as spaces (whether a decimal character value is<br />

specified or not).<br />

A valid abbreviation for RETAIN.ZERO is RZ.<br />

decimal character<br />

Only a period or comma is valid. Enclosing parentheses are mandatory.<br />

This one-character value specifies the decimal point character to be output for numeric<br />

items with the DECIMALS Data Attribute. This value overrides the DECIMAL.CHAR Data<br />

Attribute (if any) and the default decimal character entered on the Report or Ispec Options<br />

screen.<br />

The following command is included in logic:<br />

<br />

Results for various values and attributes of NUMIN are given in the following table. (The<br />

ALPHOUT value is shown with each blank represented with a small b character.)<br />

NUMIN Value NUMIN DECIMALS; ALPHOUT (LENGTH; 9)<br />

724 None 724bbbbbb<br />

0 None bbbbbbbbb<br />

0 1ormore bbbbbbbbb<br />

123.45 2 123.45bbb<br />

continued<br />

1-148 v

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!