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.

INFOR$–Internal Format Table Interface Routines<br />

12.1. Format of the Internal Format Table<br />

See Appendix G for the structure of the INFOR table and the identifiers used to<br />

reference the information it contains.<br />

12.2. General Considerations for Using the INFOR<br />

Routines<br />

If the calling program uses the relocatable version of the INFOR$ routines, the INFOR$<br />

routine allocates a 28-word packet under location counter 2. Normally this results in the<br />

area being defined in the calling program data bank. The actual location of the packet<br />

can be specified by the calling program through the use of Collector directives that<br />

define where data items under specific location counters are to be put. The following<br />

data area labels are externally defined by the relocatable version of the INFOR$ routines.<br />

These labels reference data areas in the 28-word packet and, since they are externalized,<br />

they can be used by the calling program.<br />

INFOR$<br />

Flag used by RINF$ to determine if the INFOR table has already been read.<br />

INFOR$+1<br />

FILE$<br />

ELT$<br />

Contents of A0 after first READ$ performed by RINF$ (status bits, CLIST$ index, and<br />

so on).<br />

Edited file name from DUSE$ (8 words).<br />

Field description table from SELT$ (14 words).<br />

If the calling program uses the common bank form of the INFOR$ routines, the calling<br />

program must provide a 30-word packet in a write-enabled bank that is based when the<br />

call to the INFOR$ routine is made. This packet can be generated by including a call to<br />

the procedure I$NFORPKT in the calling program code. This procedure reserves 30<br />

words of space and externalizes the data area tags INFOR$, FILE$, and ELT$. (See the<br />

definitions for INFOR$, FILE$, and ELT$ listed above.)<br />

The I$NFORPKT procedure should not be used when the relocatable version of INFOR$<br />

is called because the procedure I$NFORPKT and the relocatable version of INFOR$<br />

externalizes these tags.<br />

12–2 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!