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.

START (ST)<br />

START (ST)<br />

Depending on the target host type, this command enables an Ispec or Report to start:<br />

$ An MCP based WFL Job<br />

$ An OS 2200 based ECL runstream<br />

$ A UNIX executable shell script in the background.<br />

$ A .EXE, .COM or .BAT file in Windows NT or Windows 95.<br />

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

Specific details for each target host type are given in the following subsections.<br />

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

The START; command enables an Ispec or Report to execute a WFL Job with parameters.<br />

If the parameter item is a Setup.Data item or a screen item, it must include quotation<br />

marks, or the WFL will fail. The WFL Job File should be located on the Object pack family,<br />

or on the alternative (OTHERWISE) pack for the system usercode. It is your responsibility<br />

to provide a valid parameter as required by the Job.<br />

Files started in this way will not be attached to (or controlled by) the <strong>LINC</strong> System.<br />

The START; command has the following parameters:<br />

$ A literal or data item giving the 32-character Work Flow Job file. This parameter is<br />

compulsory.<br />

$ A literal or data item value (not exceeding 200 characters), being a file equate or a WFL<br />

string parameter value. This parameter is optional.<br />

If the length of the first parameter and the length of the second parameter both exceed 18,<br />

data items must be used (not literals).<br />

If the file equates, Accept command, or string parameter is invalid, MCP will reject the<br />

START; command, the program or job will not be started, and the <strong>LINC</strong> logic will not<br />

receive notification of the error.<br />

GLB.STATUS is set to indicate the result of the START; command, as shown in the<br />

following table.<br />

Value Result Indicated<br />

INVAL The program or job name is invalid or cannot be located.<br />

Space The MCP has been instructed to start the program or job.<br />

v 1-241

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

Saved successfully!

Ooh no, something went wrong!