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

6.2.2. CRINIT$–Initialize CRELAD$<br />

CRINIT$ initializes CRELAD$ to examine the diagnostic tables of an absolute element<br />

other than the one the system is executing.<br />

This routine initializes the tables of CRELAD$ so that they point to the diagnostic tables<br />

of the absolute element specified by the calling program. All references to CRELAD$,<br />

CSN$, and CBN$ refer to the specified absolute element until they are reinitialized.<br />

<strong>Reference</strong>s to loaded segments are not meaningful unless CRELAD$ is working on the<br />

absolute element that the system is executing.<br />

Calling Format<br />

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

error return<br />

normal return<br />

Parameters<br />

t<br />

See 6.1<br />

CRINIT$<br />

CRINIT$ is the function code that determines which of the absolute addressing<br />

routines is called by C$RELAD. It must be enclosed by apostrophes.<br />

file-name<br />

Internal name of the file containing the absolute element that the calling program<br />

wishes to examine. The file name may be from 1 to 12 characters selected from the<br />

set A through Z, 0 through 9, and the special characters - and $. If given as a string,<br />

then the parameter must be surrounded by apostrophes on the procedure call. This<br />

parameter may also be given as the address of a two-word area that contains the<br />

name in Fieldata format, left-justified and space-filled.<br />

sector-addr<br />

The sector location of the absolute element in the file named by parameter p1. This<br />

parameter may be given as an actual number, a tag that has been equated to an<br />

actual number or the address of a word that contains a value that is to be used as<br />

the sector address.<br />

6–12 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!