18.08.2013 Views

Programming Reference Manual - Public Support Login - Unisys

Programming Reference Manual - Public Support Login - Unisys

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.

Procedure 1<br />

Using PCFP<br />

Clear the function packet to zeros to ensure that each item in the function packet is set<br />

at its default value. This allows you to concentrate on the values you want to change.<br />

Procedure 2<br />

Set the necessary items in the ACQ_ELT_INFO function packet:<br />

• Set INTERFACE_LEVEL to fp_interface_level_1 (1).<br />

• Set WORK_AREA_SIZE to fp_max_work_area_acq_elt_info (20,000 is the maximum<br />

work area size for the ACQ_ELT_INFO function).<br />

• Set RTN_AREA_SIZE large enough for 100 element entries. (100 entries times the<br />

word length of the long form of the element return entry, which is 16).<br />

• Set SYM_TYPE (d) to TRUE. This indicates that PCFP is to select only symbolic<br />

elements.<br />

• Set INFO_DETAIL to long. This indicates that PCFP is to return the long form of<br />

element return entries.<br />

You do not need to set the other items in the function packet, either because the default<br />

value (0) is the desired value for these, or because PCFP uses these items to return<br />

information to the calling program. In particular, the remaining items denoting element<br />

type selection [ABS_TYPE (a), OMN_TYPE (b), and REL_TYPE (c)] and the items denoting<br />

element subtype selection (arrays e and f) are left initialized to FALSE. This means that<br />

only symbolic element types are selected; and within this type, there is no subtype<br />

restriction. Thus PCFP selects all symbolic elements having any subtype.<br />

Figures 1–12 and 1–13 compare the items of the ACQ_ELT_INFO function packet to the<br />

function packet completed with the numeric equivalents for the items.<br />

7830 9796–013 1–15

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

Saved successfully!

Ooh no, something went wrong!