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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System Data Item Descriptions<br />

GLB.BASE<br />

GLB.CCS<br />

GLB.BASE is a read-only System data item which holds the value of the year upon which<br />

relative day numbers are based. Its value is used by the complex form of the<br />

DATE.CONVERT; command.<br />

The value of GLB.BASE is set on the Specification Options screen, using the Base year<br />

field. You can set this field to any year in the range 0001 through 9999. The default value is<br />

1957.<br />

LENGTH = 4 EDIT = N<br />

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

GLB.CCS is a read-only System Data item that stores the Coded Character Set (CCS)<br />

identifier (CCS ID) for input messages from LT300 terminals. It can be accessed in Ispecs<br />

and Reports.<br />

For example, when using the GLB.CCS in your <strong>LINC</strong> logic:<br />

$ You can define a data item in your <strong>LINC</strong> database to contain the CCS of the data. Then,<br />

on input, move GLB.CCS to your data item to indicate the CCS of the data input from<br />

the LT300 terminal.<br />

$ When processing a record in your database, you can use the CCS when making data<br />

comparisons to distinguish names in different character sets. You could use the CCS as<br />

an Ordinate of a Profile, so that you can access names in name order within a<br />

character set.<br />

$ When outputting to the screen, you can compare the CCS stored in the database with<br />

GLB.CCS. If the values do not match, a message can be output to advise that the data is<br />

in a character set that cannot be displayed on the screen.<br />

For details about the available character sets and their CCS IDs, see the OS 1100 EXEC<br />

System Software Executive Requests <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> and the Message<br />

Control Bank (MCB) <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>. For guidelines on<br />

internationalizing applications for an OS 2200 environment, see the Internationalization<br />

(I18N) Planning and Implementation Overview.<br />

GLB.CENTURY<br />

LENGTH = 5 EDIT = N<br />

Use GLB.CENTURY in conjunction with the DATE.CONVERT; command. If your input to<br />

the DATE.CONVERT; command does not contain the century, you should move the<br />

century into GLB.CENTURY.<br />

2-14 v

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

Saved successfully!

Ooh no, something went wrong!