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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

J.4. I$D–Calling Sequence<br />

Obsolete Entry Points, PROCs, and Routines<br />

The I$D PROC to call the ID$ routine is replaced by the I$D$ PROC (see 11.1.2).<br />

The following MASM procedure calls ID$:<br />

I$D pktaddr date<br />

error return<br />

normal return<br />

where:<br />

pktaddr<br />

date<br />

address of the ID$ packet.<br />

address of caller-specified date and time (must be in TDATE$ format). This<br />

parameter is optional.<br />

The calling program can use indexing, incrementation, indirect addressing, and register<br />

basing in specifying the addresses for pktaddr and date with the $EQUF directive in the<br />

following format:<br />

label $EQUF,j *u,*x,,*b<br />

If date is included on the calling statement, the TDATE$ value at that address is used for<br />

the execution date/time. If the date is excluded, the TDATE$ value in word 8 of the ID$<br />

packet is used. If no value is present in word 8, the current date/time is obtained from<br />

ER TDATE$.<br />

Error Return<br />

If ID$ takes the error return, either A1 or A2 contains a negative error code. If the error<br />

occurred in ID$, A1 contains the error code; if the error occurred in SFDT$, A2 contains<br />

the error code.<br />

• ID$ error codes (returned in A1):<br />

-01 An outdated version of the ID$ packet is being used.<br />

• SFDT$ error codes (returned in A2):<br />

-01 through -05 SFDT$ routine error; see Section 22.<br />

The error code is also stored in the packet, in ERRCODE.<br />

7833 1733–004 J–11

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

Saved successfully!

Ooh no, something went wrong!