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.

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

Table I–7 contains the possible values for the additional parameter field. Function codes<br />

not listed in the table do not require an additional parameter value.<br />

Table I–7. EM$INFOR Additional Parameter Field<br />

Values<br />

Code Description<br />

2 The specification field in the format ftfuss, where:<br />

ft field type<br />

fn field number<br />

ss subfield number<br />

3 The subfield notation in the format ftfu, where:<br />

ft field type<br />

fn field number<br />

4 The use name to attach to the file (1 to 12 Fieldata<br />

characters in quotes)<br />

EM$INFOR returns the status of the call to INFOR$ in the packet field CALLSTAT.<br />

The CALLSTAT field is S3 of word 2 of the packet (packet address + 1). The possible<br />

status is<br />

0 Normal return from INFOR$<br />

1 Error return from INFOR$, error code in field A1SAVE<br />

2 Illegal value given for the INFOR$ function code<br />

The contents of registers A0, A1, A2, and A3 from INFOR$ are returned in packet fields<br />

A0SAVE, A1SAVE, A2SAVE, and A3SAVE, respectively. These fields are at words 3, 4,<br />

5, and 6 of the packet.<br />

Packet Generation:<br />

The EM$INFORPKT PROC generates the packet for the Extended Mode interface to<br />

INFOR$. This packet is required by the EM$INFOR PROC. EM$INFORPKT also<br />

generates the externalized labels INFOR$, FILE$, and ELT$. The value of each label is<br />

the offset from zero to the first word of the data entity.<br />

Calling Sequence:<br />

label EM$INFORPKT tbllen<br />

where tbllen is the word length of the INFOR table; the minimum size is 28 words.<br />

I–14 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!