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.

EXTRACT (EX)<br />

Types of Extract File Format<br />

You can define an Extract file in one of two formats:<br />

$ Ispec format<br />

$ Report Frame format<br />

With either choice, the layout of the Extract file is determined when the <strong>LINC</strong> Report<br />

is generated (not dynamically at runtime), and it applies throughout the Report.<br />

Defining an Extract File in Ispec Format<br />

This form is useful when you want to perform operations internal to your <strong>LINC</strong> System<br />

(such as sorting data without using Profiles). To write Ispec data to an Extract file (in<br />

internal Ispec format), use the EXTRACT; logic command, specifying an Ispec name.<br />

Any one Extract file can contain either of the following (but not both).<br />

$ All the data items from one Component (the record size is the Component record size)<br />

$ All the data items from one or more Events (the record size is the Event set record size)<br />

See ‘‘Numeric Data Items in Extract Files’’, later in this section for further details.<br />

Important Considerations<br />

$ You will receive a generate error if you attempt to extract an Ispec that has the same<br />

name as a Profile over that Ispec.<br />

$ When you generate a Report, the definition of the Ispec is taken from the current <strong>LINC</strong><br />

Specification. This may cause problems if your Ispec definition has been changed but<br />

your <strong>LINC</strong> System has not been generated, as the definition will not match the<br />

database.<br />

Defining an Extract File in Report Frame Format<br />

This form is useful when you want to transfer of data in and out of a <strong>LINC</strong> System. This type<br />

of Extract file can be used by both <strong>LINC</strong> and non-<strong>LINC</strong> programs, for example, MAPPER.<br />

To write the contents of a Frame to an Extract file (in a format defined by the Frame<br />

layout), use the EXTRACT; command, specifying the Frame. You can set up a Frame<br />

particularly for this purpose, if required.<br />

For Extract files in Report Frame format:<br />

$ You can include Display Items, but only after you have defined all your data items.<br />

$ The record size of the file is defined by the largest extracted Report Frame.<br />

1-122 v

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

Saved successfully!

Ooh no, something went wrong!