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.

Examples<br />

Value Execution<br />

spaces Successful<br />

MWAIT Failed: resource deadlock exceeded the system MAXWAIT timeout<br />

DMERR Failed: fatal DMS error<br />

INVKY Failed: invalid key in <strong>LINC</strong>NET file<br />

PRINT Failed: Coroutine restarted after approaching limit of 1000 file opens<br />

permitted in a BD file<br />

***** Failed: unspecified error<br />

MCP environment<br />

The following logic calls the procedure CALCULATOR in the library MY/LIBRARY:<br />

<br />

CALL<br />

For an MCP based <strong>LINC</strong> System, this logic results in the following generated COBOL code:<br />

<br />

The following logic runs the LCORTEST Coroutine report from the <strong>LINC</strong> Specification<br />

named TEST, under the usercode (TESTUSER).<br />

<br />

The following logic calls the CALCULATION procedure in your System Library<br />

(SITEFUNCTIONS). This library must have been installed by using the following ODT<br />

command (SL SITEFUNCTIONS = library).<br />

<br />

<br />

OS 2200 environment<br />

The following logic calls the procedure MYROUTINE:<br />

<br />

UNIX environment<br />

The following logic commands list the files in the current directory:<br />

<br />

<br />

The following command calls the bound routine CALCULATOR:<br />

<br />

v 1-59

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

Saved successfully!

Ooh no, something went wrong!