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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

The following describes the RFTI$$ function:<br />

Calling sequence<br />

Auto Switch<br />

L,U A0,address-of-FCT<br />

L A1,(BSP$-int-level, lengthof-FCT)<br />

L,U A2,[large-elt text++]sizeindicator<br />

LMJ X11,CBRFTI$$-1<br />

error return<br />

normal return<br />

Parameters<br />

address-of-FCT<br />

Common Bank or<br />

Relocatable<br />

L,U A0,address-of-FCT<br />

A1(BSP$-int-level, lengthof-FCT)<br />

L,U A2,[large-elt text++]sizeindicator<br />

I$BJ X11,CBRFTI$$<br />

error return<br />

normal return<br />

Relocatable<br />

L,U A0,address-of-FCT<br />

L,U A1,(BSP$-int-level, lengthof-FCT)<br />

LMJ A2,[large-elt text++]sizeindicator<br />

LMJ X11,RFTI$$<br />

error return<br />

normal return<br />

Address of data area for BSP$. This data area requires at least 43 words. A data<br />

area of 56 words is recommended to accommodate future BSP$ expansion. Words<br />

0 and 1 of this data area must contain an internal file name that is in Fieldata, leftjustified,<br />

and space-filled. This data area is referred to as the file control table (FCT)<br />

and must not be modified between calls to BSP$ after it has been initialized by<br />

RFTI$$.<br />

BSP$-int-level<br />

The BSP$ interface level required by the calling program. The following values may<br />

be specified:<br />

0 This is the only value supported prior to <strong>SYSLIB</strong> 76R1. It allows access to an<br />

existing PF or LPF and allows an empty file to be initialized as a PF or LPF.<br />

1 This value allows access to an existing PF, LPF or LEPF and allows an empty<br />

file to be initialized as a PF, LPF or LEPF. Note that special care must be<br />

taken when processing elements and element text in an LEPF. See sections<br />

5.1.7 and 5.3 for additional information.<br />

2 This value is supported beginning with <strong>SYSLIB</strong> 76R3. Allows the same file<br />

access and initialization as interface level 1. In addition, returns an indication if<br />

the program file was initialized on this function call.<br />

length-of-FCT<br />

Length in words of the data area provided in register A0.<br />

5–6 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!