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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Functions of PCFP<br />

The structure of this part is defined in copy/include element FP$GENERIC. This element<br />

must be included in your program before any copy/include element that defines a<br />

specific function packet. See Figure 2–2.<br />

0 INTERFACE_LEVEL<br />

1 a b c<br />

2 WORK_AREA_SIZE<br />

3 SOFTWARE_LEVEL<br />

4<br />

5 GEN_DATE_TIME<br />

6<br />

7 ERROR_CLASS ERROR_FILE SUB_ERROR_CODE<br />

8 ERROR_CODE<br />

9 AUX_ERROR_CODE<br />

Item Descriptions<br />

INTERFACE_LEVEL<br />

Figure 2–2. Generic Part of the Function Packet<br />

Indicates the level of data structure definitions used for this function. All PCFP<br />

functions initially use a value of FP_INTERFACE_LEVEL_1. As new features are<br />

implemented for a function, it is sometimes necessary to expand the data structures<br />

(function packet, return entries and/or other special return information). When this<br />

occurs, the function packet interface level is increased by 1. The individual function<br />

packet documentation in Sections 3 – 10 describes the most current interface level<br />

for each function that supports interface levels other than FP_INTERFACE_LEVEL_1.<br />

The interface level is changed to ensure compatibility for existing function calls.<br />

Existing programs with older interface levels continue to operate correctly with no<br />

program changes. To use the new features, it is necessary to modify the program to<br />

use the new interface level and the associated new data structures.<br />

It is recommended that new programs and new function calls always use the most<br />

current interface level for each function. Data structures shown in this manual<br />

always correspond to the most current interface level. Data structures for older<br />

interface levels are shown in comments in the associated copy/include elements.<br />

Data Type: unsigned integer<br />

7830 9796–013 2–9

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

Saved successfully!

Ooh no, something went wrong!