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.

Procedure 1<br />

Using PCFP<br />

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

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

change.<br />

Procedure 2<br />

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

• Set INTERFACE_LEVEL to fp_interface_level_1 (which is defined as 1).<br />

• Set WORK_AREA_SIZE to fp_max_work_area_delete_file (1,000, which is the<br />

maximum work area size for the DELETE_FILE function).<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. For example, in Figures 1–2 and 1–3, the items<br />

EXCLUSIVE_ASSIGN (a) and ZERO_RELEASED_STORAGE (b) in the specific part of the<br />

function packet are left initialized to FALSE (0).<br />

Figures 1–2 and 1–3 compare the items of the DELETE_FILE function packet to the<br />

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

0 INTERFACE_LEVEL<br />

1 a b<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 />

10 a b<br />

Figure 1–2. DELETE_FILE Function Packet Items<br />

7830 9796–013 1–5

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

Saved successfully!

Ooh no, something went wrong!