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.

GET.LENGTH; (GL)<br />

Syntax<br />

Examples<br />

GET.LENGTH; (GL)<br />

The GET.LENGTH; commands returns the length of the data in alphanumeric (EDIT; A),<br />

Kanji (EDIT; K), and Hankaku-Katakana (EDIT; W) data items. The length includes leading<br />

and embedded spaces, but not trailing spaces. The results are stored in the System Data<br />

items GLB.LENGTH and GLB.FULLLENGTH. If the data item is spaces, both System Data<br />

items are set to zero.<br />

GLB.LENGTH is the length of the data item in characters. GLB.FULLLENGTH is the length<br />

in bytes. GLB.FULLLENGTH will equal GLB.LENGTH except for data items that contain<br />

Hankaku-Katakana characters in UNIX <strong>LINC</strong> Systems. See the description of<br />

Hankaku-Katakana characters in your <strong>LINC</strong> Generate <strong>Reference</strong> <strong>Manual</strong>: Painter and<br />

Editor, for further details.<br />

Note: GLB.FULLLENGTH is not implemented in LDA, so GET.LENGTH returns only<br />

the length in characters and stores the result in GLB.LENGTH.<br />

The maximum length that can be determined by the GET.LENGTH; command is 2000<br />

characters. If the truncated data exceeds this length, GLB.LENGTH is set to 2000.<br />

Note: A two-byte KANJI character is counted as one character in GLB.LENGTH.<br />

DDDD DDDD DDDDDDDDDDDDDDDDDDDD4<br />

data name<br />

Thedataitemdata name must be EDIT; A, EDIT; K, or EDIT; W.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

v 1-135

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

Saved successfully!

Ooh no, something went wrong!