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.

Appendix A<br />

Using <strong>SYSLIB</strong><br />

This appendix contains suggestions for using <strong>SYSLIB</strong>.<br />

A.1. Efficient Collections<br />

Under certain conditions, the efficiency of the Collector can be improved when using<br />

<strong>SYSLIB</strong> relocatable elements. These conditions are:<br />

• <strong>SYSLIB</strong> has been installed with COMUS level 4R2 or higher.<br />

• The Exec level is 40R1 or higher.<br />

• The Collector level is 31R2 or higher.<br />

• The <strong>SYSLIB</strong> elements are not explicitly included with the “IN file-name.elementname”<br />

directive.<br />

If these conditions are met, programs that call <strong>SYSLIB</strong> routines should use the MASM<br />

INFO 12 directive. This directive instructs the Collector to search the library file<br />

SYS$LIB$*<strong>SYSLIB</strong> before searching other library files. The format of the INFO 12<br />

directive is<br />

$INFO 12 '<strong>SYSLIB</strong>'<br />

where ‘<strong>SYSLIB</strong>’ is the keyword for the SYS$LIB$*<strong>SYSLIB</strong> file. For details, see the<br />

MASM <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>.<br />

A.2. PLUS Routines<br />

When any <strong>SYSLIB</strong> routines written in PLUS are used, the PLUS library must be available<br />

when collecting programs. SAR$ is the only <strong>SYSLIB</strong> routine that is currently written in<br />

PLUS. If PLUS is installed with COMUS or is included in the SYS$RLIB$ file, the<br />

Collector will automatically include referenced PLUS elements. IF PLUS is installed in a<br />

different file, it may be necessary to use the Collector LIB directive of MAP$PF use<br />

name. See the Collector <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> for more information on the<br />

Collector LIB.<br />

A.3. Compilations<br />

Attach MASM$PF or PLS$PF to file SYS$LIB$*<strong>SYSLIB</strong>, or the file containing <strong>SYSLIB</strong>,<br />

and assign it to the run. This will decrease the assembly and compilation time. Use the<br />

M option with PLS.<br />

7833 1733–004 A–1

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

Saved successfully!

Ooh no, something went wrong!