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.

Section 11<br />

ID$–Identification Line Routine<br />

ID$ provides the calling program with an identification line or lines for any processor or<br />

program. ID$ identifies the processor called and the time it was called. The information<br />

in the identification line consists of a processor/program description, an optional date of<br />

creation and time for the processor/program, and the current (execution) date and time.<br />

The System Standard Format Date and Time (SFDT$) routine formats the dates and<br />

times. All output is in ASCII.<br />

ID$ can be called from both MASM and PLUS programs. ID$ is available as a relocatable<br />

element in the <strong>SYSLIB</strong> file SYS$LIB$*<strong>SYSLIB</strong> and also in the <strong>SYSLIB</strong> common bank<br />

<strong>SYSLIB</strong>$1. The relocatable and common bank entry points for ID$ are listed in<br />

Appendix E.<br />

ID$ Output<br />

The format of the identification line is<br />

Processor/program description (creation date and time) execution date and<br />

time<br />

where:<br />

Processor/program description<br />

The calling program provides this field; it can contain any number of ASCII<br />

characters. There are two methods to specify the description.<br />

• A separate buffer may contain the description; the address and length in<br />

characters are passed to ID$.<br />

• The description can be specified as a string on the I$DPKT procedure call that<br />

sets up the ID$ packet.<br />

Creation date and time<br />

ID$ obtains the date and time that the calling program was created from the<br />

Collector-supplied values for D$ATE and T$IME. ID$ places the date and time in<br />

parentheses using the following format: (YYMMDD HHMM:SS). Date and time are<br />

separated from the last character of the description by one space. This field can be<br />

excluded from the ID$ output.<br />

7833 1733–004 11–1

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

Saved successfully!

Ooh no, something went wrong!