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.

CALL<br />

Syntax<br />

$ ‘‘Using BYFUNCTION; with the CALL; Command’’ (for MCP based <strong>LINC</strong> Systems),<br />

later in this subsection<br />

$ ‘‘Using Coroutines with the CALL; Command’’ (for MCP based <strong>LINC</strong> Systems), later in<br />

this subsection<br />

$ Your OS 2200 Based <strong>LINC</strong> Administration and Operations Guide (for OS 2200 based<br />

<strong>LINC</strong> Systems)<br />

$ The Interfaces section of your <strong>LINC</strong> Administration and Operations Guide for the<br />

relevant host type<br />

$ " CALL" in the LDA online help<br />

Note: The syntax of the CALL; command is different for UNIX, MCP and OS 2200<br />

based <strong>LINC</strong> Systems. The syntax for each host type is given separately in the<br />

following subsections.<br />

MCP Based Syntax<br />

D B D BDBDDDDDDDDDDDDDDBDDBD4<br />

3 33 3 3<br />

CDDDDDD DD DDDDDY@ Y 3<br />

3 3<br />

@DDDDDDDDDD DDD DDDDDDDDDDY<br />

literal 1<br />

A literal value containing the Procedure name. For COBOL routines, this value is always<br />

PROCEDUREDIVISION. The entry point identified by literal 1 is interpreted as being a<br />

function provided by the System Library. The CALL; command passes the contents of<br />

GLB.PARAM to that function, and causes the function to be performed.<br />

literal 2<br />

A literal value containing the name of the Library. Total length of literal 1 and 2 is not<br />

greater than 50 characters<br />

literal 3<br />

The literal value is the name of the Library (up to 50 characters), and must be the same as<br />

literal 2 in any CALL; commands that invoke functions in the Library.<br />

In the MCP SL command, you must specify the actual file title associated with this value.<br />

This parameter is ignored on other target host types.<br />

For more information, see ‘‘Using BYFUNCTION; with the CALL; Command’’, later in this<br />

section.<br />

1-52 v

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

Saved successfully!

Ooh no, something went wrong!