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.

RUN<br />

If the AT device type is not used, the device must be LP, and the Report will run<br />

unattached. Messages from unattached Reports are directed to the System Log file, and<br />

accepts are taken from any data images following the @XQT command in the runstream. If<br />

there is not enough data to match all the ACCEPT; <strong>LINC</strong> logic commands, the Report<br />

aborts. To enter data images into the runstream, edit the element with the same name as<br />

the Report in the following file:<br />

<br />

See the MESSAGE; command and ACCEPT; command for methods of accepting runtime<br />

information into a running Report. You can also pass parameter information to your<br />

report, by including the PA; command option in the RUN; command. For more details, see<br />

‘‘Passing Parameters to Your Report’’, later in this section.<br />

For a UNIX <strong>LINC</strong> System<br />

The RUN; command is interpreted as if a :RUN <strong>LINC</strong> System (colon) command had been<br />

entered.<br />

For a UNIX <strong>LINC</strong> System, if the input is from a terminal id the type is VD, the Report is<br />

attached to the terminal. In all other cases with UNIX, the Report is run in background, and<br />

any requests for ACCEPT; command input will cause the Report to terminate.<br />

After it is initiated, the Report is not dependent on the completion of the logic of the Ispec.<br />

Note: Do not initiate multiple copies of the same Report, as this may result in<br />

ORACLE errors.<br />

The destination of the Report output is determined by the setting of the output device type,<br />

and by the value of the System Data item GLB.STN.<br />

Any messages appear on the status line of the terminal issuing the RUN; command.<br />

You can pass parameter information to your report, by including the PA; command option<br />

in the RUN; command. For more details, see ‘‘Passing Parameters to Your Report’’, later in<br />

this section. This method could be used to eliminate MESSAGE; and ACCEPT; commands<br />

from Report logic.<br />

In LDA Run Time<br />

All Hosts<br />

Only hard copy output is produced.<br />

Values of GLB.STATUS<br />

When the RUN; command is executed, the System Data item GLB.STATUS will contain one<br />

of the values shown in the following table.<br />

v 1-207

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

Saved successfully!

Ooh no, something went wrong!