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.

System Data Item Descriptions<br />

ACTMTH<br />

System Data Item Descriptions<br />

The System Data items are described in the sections below, and listed in alphabetical order.<br />

In an Ispec, ACTMTH contains the current accounting month in the form YYMM. If debug<br />

date and time is activated, it contains the month of the current debug date. In a Report, it<br />

contains the ACTMTH value from the last Event record read. It appears on all Ispec screen<br />

formats, and is available to all logic. It is included in Event database records.<br />

ACTMTH may be assigned the NOT.ENTERED attribute for a particular Ispec, by selecting<br />

an option on the Ispec Option screen.<br />

LENGTH = 4 EDIT = N<br />

Using ACTMTH After the Year 2000<br />

The length of the System Data item ACTMTH is 4. If you use ACTMTH as a Profile<br />

Ordinate, you should consider replacing it with a data item of length 6 in order the include<br />

the century.<br />

GLB.ACTIONKEY<br />

Note: This System Data item is valid in Ispecs for an OS 2200 based <strong>LINC</strong> System<br />

only. It is available in LDA and may be tested using LDA Run Time.<br />

GLB.ACTIONKEY is a read-only System Data item containing the value of the Function<br />

Key pressed (if you are using the FKHANDLE SGS statement). If you are trapping EXIT or<br />

BYE, this data item will contain EX or BY if an EXIT or BYE request is made, respectively.<br />

The value in GLB.ACTIONKEY is retained across recalls to other Ispecs. You may need to<br />

check the value of GLB.PREVISPEC against the value of ISPEC to make sure it contains<br />

the value of the current Ispec. For an example of the code required to test the value of<br />

GLB.PREVISPEC, see your OS 2200 Based <strong>LINC</strong> Administration and Operations Guide.<br />

LENGTH = 2 EDIT = A<br />

LDA<br />

The GLB.ACTIONKEY stores the value of the function key selected from the LDA Run<br />

Time Action Key dialog box. The function keys available are listed in the following table.<br />

v 2-9

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

Saved successfully!

Ooh no, something went wrong!