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.

CABSAD$, CRELAD$–Addressing Routines<br />

error<br />

A0 < 0<br />

A0 > 0<br />

The requested address does not exist. Possible reasons include:<br />

• The executing program does not have this element<br />

• The element has no such location counter<br />

• The location is out of range for that location counter<br />

• The program was collected with the Z option, so there are no diagnostic<br />

tables. See the Collector <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong><br />

• The element is not an absolute element<br />

A0 has an I/O error status code, and register A1 contains the sector address of<br />

the error on mass storage in the file from which the program is loaded.<br />

Reinitializing CABSAD$<br />

If a program using CABSAD$ is checkpointed and restarted, the restart contingency<br />

routine should contain the following instruction to reinitialize the CABSAD$ tables:<br />

SZ *CABSAD$-1<br />

6.1.2. CAINIT$–Initialize CABSAD$<br />

CAINIT$ initializes CABSAD$ to examine the diagnostic tables of an absolute element<br />

other than the one being executed.<br />

CAINIT$ initializes the tables in CABSAD$. The tables point to the diagnostic tables of<br />

an absolute element that is indicated by the file name and header table start address.<br />

Until reinitialized, all references to CABSAD$, CSX$, CBX$, and CSYMVL$ refer to the<br />

specified absolute element. <strong>Reference</strong>s to the Segment Load Table (SLT$) are not valid<br />

unless CABSAD$ is working on the absolute element that is executing.<br />

Calling Format<br />

C$ABSAD[,t] ‘CAINIT$’[,file-name,sector-addr] [pkt-addr]<br />

error return<br />

normal return<br />

Parameters<br />

t<br />

See 6.1.<br />

6–4 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!