18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

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.

BSP$-Program File Basic Service Package<br />

022<br />

024<br />

Table not in main storage. Caller must have first done an RPFxxT$ call.<br />

User error<br />

normal return<br />

Last item referenced written.<br />

This function should be called only if the previous BSP$ functions: search table (xxIS$),<br />

delete item (xxIS$), entry look-up (xxNL$), change item (xxIC$), or add item (xxIA$)<br />

resulted in a normal return. In each case, register A0 has the address of the table item<br />

processed by the function. The PTxxWT$ function will write the 1 or 2 sectors (28 or 56<br />

words) that contain the table item to mass storage. Note the following about this<br />

function:<br />

• It is not necessary to call this function after the delete item, change item, or add<br />

item functions. The modified item will be written to mass storage either before<br />

BSP$ reads the next buffer or when the WPFxx$ function is called.<br />

• This function should be called only if it is determined that the table item must be<br />

written to mass storage immediately.<br />

• This function is very inefficient, particularly if many table items need to be written,<br />

for the following reasons:<br />

− Writing small buffers of 1 or 2 sectors incurs a large amount of overhead.<br />

− Because each table item is only a partial sector, each sector may need to be<br />

written multiple times. For the element table, each sector is written an average<br />

of 3.6 times. For the other program file tables, each sector is written an average<br />

of 7 times.<br />

• The mark item as updated (xxIS$) function (see 5.1.9) should be considered as a<br />

more efficient alternative to this function.<br />

5.1.9. Mark Item as Updated<br />

The BSP$ entry points for marking the last program file table item referenced as having<br />

been updated are:<br />

(CB)ETIU$ Element Table Item Updated<br />

(CB)APTIU$ Assembler Procedure Table Item Updated<br />

(CB)CPTIU$ COBOL Procedure Table Item Updated<br />

(CB)FPTIU$ FORTRAN/PLUS Procedure Table Item Updated<br />

(CB)EPTIU$ Relocatable Element Entry Point Item Updated<br />

5–30 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!