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.

System Data Item Descriptions<br />

GLB.CHG<br />

GLB.CLOSE<br />

GLB.COPY<br />

The chargecode that applies to your Report run or WFL job initiation is the chargecode<br />

contained in GLB.CHARGECODE when the RUN; or START; logic command is executed.<br />

RIP reports that are run from WFL have the chargecode set to the name (usercode)station.<br />

RIP reports that are not attached to a terminal have the chargecode set to <strong>LINC</strong>RIP.<br />

Move the chargecode value into GLB.CHARGECODE before the appropriate RUN; or<br />

START; Logic command. Do not include the period on the end of your chargecode, as this<br />

is automatically appended.<br />

For further details, see your MCP Based <strong>LINC</strong> Administration and Operations Guide.<br />

LENGTH = 45 EDIT = A<br />

GLB.CHG is a read-only System Data item. It should be used in place of the literal CHG,to<br />

allow for translation of MAINT values in multiple-language systems.<br />

For more details, see the MAINT System Data item, later in this section.<br />

GLB.CLOSE is a read-only data item used in conjunction with the SLEEP; command in<br />

Reports.<br />

If a manual stop (for example, from the :STO <strong>LINC</strong> System command) or a programmatic<br />

stop (invoked by the END.AFTER; option of the SLEEP; command) is received by the<br />

Report, GLB.CLOSE is set to CLOSE, and the Report is reactivated. This enables<br />

termination logic, such as printing a summary, to be performed.<br />

If a SLEEP; command is executed when GLB.CLOSE has the value CLOSE, the Report<br />

goes to end-of-job.<br />

GLB.CLOSE is set to GLB.SPACES when a Report is initiated.<br />

LENGTH = 5 EDIT = A<br />

GLB.COPY is a read-only System data item that contains the number of the current copy in<br />

a Copy.From Ispec. GLB.COPY can be compared to the System Data item GLB.MAXCOPY<br />

to determine whether the logic is being performed for the final time.<br />

In non-Copy.From Ispecs, GLB.COPY is always zero.<br />

LENGTH = 2 EDIT = N<br />

2-16 v

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

Saved successfully!

Ooh no, something went wrong!