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.

I.7. Interface to INFOR$<br />

Extended Mode Interface to <strong>SYSLIB</strong><br />

The INFOR$ routine is called with the EM$INFOR PROC. The packet for the INFOR$<br />

routine is generated with the EM$INFORPKT PROC.<br />

The EM$INFOR PROC calls the INFOR$ routine in the <strong>SYSLIB</strong> common bank.<br />

Calling Sequence:<br />

EM$INFOR pkt,b-reg [func,param]<br />

where:<br />

pkt<br />

b-reg<br />

func<br />

param<br />

The label (18-bit offset from zero) of the packet generated by the EM$INFORPKT<br />

PROC.<br />

The B-register of the bank containing the packet generated by the EM$INFORPKT<br />

PROC.<br />

The code for which INFOR$ function to perform. See Table I–6 for a list of possible<br />

function codes.<br />

An additional parameter for some function codes. See Table I–7 for a list of possible<br />

parameter values.<br />

The func and param parameters are optional; if they are omitted, EM$INFOR uses the<br />

values contained in registers A1 and A2 (and A3 for function code 4), respectively.<br />

Table I–6 contains the function codes that may be used in the EM$INFOR PROC call.<br />

Table I–6. EM$INFOR Function Codes<br />

Code Description<br />

1 Read the INFOR table (RINF$).<br />

2 Search INFOR for a specification subfield (SINF$).<br />

3 Transfer a field to the ELT$ table (SELT$).<br />

4 Dynamically attach a use name to a file (DUSE$).<br />

7833 1733–004 I–13

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

Saved successfully!

Ooh no, something went wrong!