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.

RUN<br />

RUN<br />

The RUN; command is used to initiate a Report from Ispec logic.<br />

Use of this command with OLTP is described in your <strong>LINC</strong> Generate Operations Guide.<br />

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

After the Report is initiated, it is not dependent on the completion of the logic of the Ispec.<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 />

If the output device type is VD, and input is from a terminal, the Report is attached to that<br />

terminal. If input is from External Automatic Entries (HUB), GLI, or OFFLINE, the Report<br />

will not be initiated. If the device type is RP, TP, orLP, and input is from a terminal, GLI,<br />

HUB, or OFFLINE, the report will be unattached.<br />

The ROC system will recognize EX as a valid device type and write the output to a<br />

standard system data file. The name of this file will be derived from the Destination Station<br />

value held in GLB.STN. You can specify a longer name if required.<br />

When running an unattached Report, any messages will be ignored, and requests for<br />

ACCEPT; command input from that Report will cause it to go to end-of-job. Instead of<br />

using MESSAGE; and ACCEPT; commands in Reports, you can pass parameters, as<br />

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

The chargecode that applies to your Report run is dependent on the values of the :COD<br />

<strong>LINC</strong> System command and the GLB.CHARGECODE System Data item.<br />

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

‘‘GLB.CHARGECODE’’ in this manual.<br />

For an OS 2200 based <strong>LINC</strong> System<br />

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

entered. It is not available for Fast Load Reports.<br />

A Report can be run as attached or unattached. If the Report is run as attached by using the<br />

AT device type, messages are returned to the screen from which the Ispec issuing the RUN<br />

command was initiated. The current screen display is overwritten, and replies can only be<br />

entered from the same terminal. Each terminal can only have one active attached Report at<br />

a time. Reports can only be run as attached if the default device is VD.<br />

1-206 v

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

Saved successfully!

Ooh no, something went wrong!