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.

GLB.STATUS (GS)<br />

Syntax<br />

GLB.STATUS (GS)<br />

The GLB.STATUS; command directs the system error status of a command result to a<br />

specified data item, instead of using the System Data item GLB.STATUS.<br />

The GLB.STATUS; command is used as follows:<br />

$ The GLB.STATUS; command is associated with another command, and it must appear<br />

on the same logic line as that command (or as part of the last line if the command<br />

spans several lines).<br />

$ Before the associated command is executed, the data item specified by the<br />

GLB.STATUS; command is cleared (set to the value of the System Data item<br />

GLB.SPACES).<br />

$ The result is moved to the data item after the execution of the associated command or<br />

completion of the loop created by the associated command.<br />

$ Valid associated commands are:<br />

v ADD;<br />

v ATTRIBUTE;<br />

v COMPUTE; and COMPUTE.FROM;<br />

v DATE.CONVERT;<br />

v DETERMINE; commands<br />

v DIVIDE;<br />

v LOOK.UP; commands<br />

v MATCH;<br />

v MOVE;<br />

v MULTIPLY;<br />

v SUBTRACT;<br />

v WAKE.UP;<br />

$ For LDA, you must use GS; (and not GLB.STATUS;). GLB.STATUS is always<br />

interpreted as the System Data item, and may cause a syntax error.<br />

Note: The GLB.STATUS; command has an additional effect when included as part of<br />

the MOVE; command. See the MOVE; command for further details.<br />

DDDD DDD DDDDDDDDDDDDDDDDDDDDDDDD4<br />

data item<br />

The data item must be alphanumeric and have a minimum length of five.<br />

v 1-137

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

Saved successfully!

Ooh no, something went wrong!