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 />

04<br />

05<br />

06<br />

07<br />

010<br />

File is not assigned to the run or is not a sector formatted mass storage file.<br />

PF does not contain a supported revision level.<br />

Specified size indicator (size-indicator) is illegal.<br />

No starting sector address for LPF table.<br />

PF does not contain a valid size indicator.<br />

07700000000nn<br />

normal return<br />

nn is error status from ER IOW$.<br />

The FTI is stored in the FCT starting at word 6 (see Figure 5–1). The FTI is initialized if<br />

the file was empty (I/O status 05) or if the first sector was zeroes. If the caller is<br />

going to be adding an element to the file, the next sector location for writing element<br />

text is found at word FCT+7.<br />

On return A1, S6 (bits 30 through 35) has the FTI size indicator. A standard PF (PF or<br />

standard LEPF) will have a value of 0. An LPF (LPF or large LEPF) will have a value<br />

of 4.<br />

On return A1, bit 29 (octal 0100) is the large-element text-allowed bit. For a PF or<br />

LPF, bit 29 is zero (clear). For an LEPF, bit 29 is one (set).<br />

On return when the BSP$ interface level specified on the RFTI$$ function call is 0 or<br />

1, A1, bit 28 (octal 0200) is zero (clear). On return when the BSP$ interface level<br />

specified on the RFTI$$ function call is 2 or more, A1, bit 28 is the program file<br />

initialized bit. If the file was already a program file, bit 28 is zero (clear). If the file was<br />

empty and was initialized as a program file, bit 28 is one (set).<br />

On return A1, bits 0 through 27 are zeroes.<br />

5–8 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!