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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System Data Item Descriptions<br />

GLB.SYSVERSION<br />

GLB.TASK<br />

GLB.SYSVERSION is a read-only System Data item that gives the version number of the<br />

current <strong>LINC</strong> System. This number is incremented by one every time you generate your<br />

Specification (except for syntax-only generates). You may cause this number to be reset<br />

when you generate your Specification with a new version id, by entering Y in the Reset all<br />

version counts on id change field on the Change Control Options screen, or you can<br />

change it directly by using the Supervisor RESET VER command.<br />

Note: For an MCP based <strong>LINC</strong> System only, if your latest generate has only compiled<br />

Subsystems in which there have been some Ispec changes, current version<br />

information will only be applied to those Subsystems that have been compiled.<br />

Before generating, mark all Subsystems for generate in order to propagate the<br />

latest version information across your whole system.<br />

GLB.SYSVERSION is not implemented in LDA Run Time.<br />

LENGTH = 4 EDIT = N<br />

GLB.TASK can be used to provide a result for the running of a Report.<br />

For an MCP based <strong>LINC</strong> System<br />

GLB.TASK is accessible from a WFL job, and its value can be used to control subsequent<br />

WFL execution.<br />

If the Report is run through the batch Report Initiation Program (RIP), and a value is<br />

moved into GLB.TASK, the value returned to RIP at end-of-task is TASKVALUE.<br />

A MOVE; of a value to GLB.TASK causes the TASKVALUE attribute to be set immediately.<br />

This occurs for a MOVE; logic command only; any other command that has GLB.TASK as a<br />

receiving field results in GLB.TASK being set only at the end of the Report.<br />

GLB.TASK is zero unless it is explicitly given a value.<br />

Caution<br />

GLB.TASK should not be set to 1, as this value is used specifically to indicate a<br />

Report runtime error, for example, divide by zero or DMSII errors.<br />

LENGTH = 2 EDIT = N<br />

2-62 v

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

Saved successfully!

Ooh no, something went wrong!