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.

SWITCH.TO (SWT)<br />

Syntax<br />

$ On UNIX and MCP based <strong>LINC</strong> Systems, you cannot switch to the <strong>LINC</strong> Report Output<br />

Control System (ROC) or <strong>LINC</strong> Ad Hoc Inquiry Utility. Use the ROC.MODE; or<br />

ADHOC.MODE; commands instead.<br />

$ On OS 2200 based <strong>LINC</strong> Systems you can switch to the <strong>LINC</strong> Report Output Control<br />

System (ROC).<br />

$ For an MCP based <strong>LINC</strong> System you cannot use the DATA; command option when<br />

switching to a <strong>LINC</strong> Release 15 System.<br />

The SWITCH.TO; command has the following syntax:<br />

DD DD DBDDDDDDDDDDDDDDDDDDDDDDBDDDDDDDDDDDDDD <br />

3 3<br />

@D DD DY<br />

DBDDDDDDDDDDDDDDDDDDDDDDDDBDBDDDDDDBDBDDDDDDDDBDBDDDDDDDDDDBDD4<br />

3 33 33 33 3<br />

@ D Y@ Y@ Y@ Y<br />

system<br />

An alphanumeric data item or literal specifying the destination system, as follows:<br />

$ For an MCP based <strong>LINC</strong> System, a valid window name, or an asterisk (*) for the<br />

default window name.<br />

$ For an OS 2200 based <strong>LINC</strong> System, a valid transaction id.<br />

$ For a UNIX <strong>LINC</strong> System, the name of the <strong>LINC</strong> Database for the target <strong>LINC</strong> System.<br />

If you enter an invalid system name, the current screen of your sending <strong>LINC</strong> System is<br />

displayed with a message informing you of the unavailability of the target system.<br />

DATA; data name<br />

Specifies an alphanumeric data item or literal whose value is to be passed to the target<br />

<strong>LINC</strong> System. Up to 1850 characters (1884 on UNIX <strong>LINC</strong> Systems) may be passed. DATA<br />

may be abbreviated as DA.<br />

$ If the first 5 characters of the data make up the name of a valid Ispec, and are followed<br />

by data in NOF format, normal Pre-<strong>LINC</strong> and Main Logic of that Ispec is performed.<br />

NOF format in MCP and OS 2200 environments is defined by the <strong>LINC</strong>OFF file, while<br />

on UNIX <strong>LINC</strong> Systems it is defined by the <strong>LINC</strong>NOF file. See your UNIX <strong>LINC</strong><br />

Administration and Operations Guide for details of creating the <strong>LINC</strong>NOF file.<br />

$ If the first 5 characters of the data make up the name of a valid Ispec, and the sixth<br />

character is not a T, normal Pre-Screen logic of that Ispec is performed.<br />

1-250 v

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

Saved successfully!

Ooh no, something went wrong!