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

5.1.5. Entry Look-Up by Number<br />

The BSP$ entry points for looking up program file items by sequence number are<br />

(CB)ETNL$ Element Table Number Look-up<br />

(CB)APTNL$ Assembler Procedure Table Number Look-up<br />

(CB)CPTNL$ COBOL Procedure Table Number Look-up<br />

(CB)FPTNL$ FORTRAN Procedure Table Number Look-up<br />

(CB)EPTNL$ Relocatable Element Entry Point Table Number Look-up<br />

Calling Sequence<br />

Auto Switch<br />

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

L,U A1,sequence-number<br />

LMJ X11,CBxxNL$-1<br />

error return<br />

normal return<br />

Returns<br />

error return<br />

A0 has one of the following values:<br />

04<br />

012<br />

014<br />

022<br />

Sequence number not in table<br />

FTI not in main storage<br />

Common Bank or<br />

Relocatable<br />

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

L,U A1,sequence-number<br />

I$BJ X11,CBxxNL$<br />

error return<br />

normal return<br />

Sequence number is out of range<br />

Table not in main storage<br />

7700000000xx<br />

I/O error, where xx is the I/O status returned<br />

Relocatable<br />

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

L,U A1,sequence-number<br />

LMJ X11,xxNL$<br />

error return<br />

normal return<br />

5–18 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!