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.

PAGE (PG)<br />

Syntax<br />

Example<br />

PAGE (PG)<br />

The PAGE; command is available only for MCP based <strong>LINC</strong> Systems. It is valid, but ignored<br />

on all other host types and in LDA Run Time.<br />

The PAGE; command enables you to send a string of information to a specific screen page<br />

of the current station (terminal). This leaves you out of forms mode.<br />

The PAGE; command can be used only in Ispecs.<br />

The PAGE; command output is sent immediately (casual output), and does not wait for the<br />

end of the current transaction. Multiple PAGE; commands to the same page within the<br />

same transaction overwrite each other.<br />

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

DDD DDDDDDD DDDDDD DDDDDD4<br />

page number<br />

This value specifies the destination page of the text. This number cannot be in parentheses,<br />

and if it is any value other than 0, or 2 through 5, is syntax checked by the editor.<br />

If the page number value is in the range 2 through 5, then the text field name value is<br />

appended to page switching code, to automatically send the text string to the specified<br />

page, followed by home and top of page.<br />

If the page number value is 0, then the text field name value is sent, without any<br />

modification to the terminal. This means that if you enter a page number value of 0, you<br />

must embed the page control sequence into the actual text field name text string.<br />

text field name<br />

The text field name value is the name of a Global Setup Data item, Setup Data item, or<br />

screen data item that contains the string of information to be sent to the specified page.<br />

Any text longer than 1920 characters is truncated.<br />

In a distribution company system, whenever the Sales Representative screen is accessed,<br />

you might want to display the valid commission codes and their meanings. If you did not<br />

want this to be displayed on Page one due to space limitations, you could use the PAGE;<br />

command to display this information on Page three every time the Sales Representative<br />

screen was displayed. If the person using the screen wanted to have more information on<br />

the commission codes, they could simply go to Page three, and then return to Page one and<br />

complete the function they required.<br />

v 1-193

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

Saved successfully!

Ooh no, something went wrong!