05.06.2013 Views

Z-MAP Plus I/O Access Library - Landmark Software Manager ...

Z-MAP Plus I/O Access Library - Landmark Software Manager ...

Z-MAP Plus I/O Access Library - Landmark Software Manager ...

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.

Z-<strong>MAP</strong> <strong>Plus</strong> I/O <strong>Access</strong> <strong>Library</strong> <strong>Landmark</strong> Graphics<br />

Initialization and Termination Routines<br />

SICOMM<br />

Function Initialize the ZPI/O environment<br />

This subroutine initializes system-wide common blocks. SICOMM or SIISIL<br />

(page 41 – a replacement subroutine for SICOMM) must be the first<br />

subroutine called when using the Z-<strong>MAP</strong> <strong>Plus</strong> I/O <strong>Access</strong> <strong>Library</strong>.<br />

SICOMM sets all output print units to the standard default, usually unit 6. For<br />

more control on where messages are printed, see SIISIL (page 41).<br />

Environment The application program must contain the declaration:<br />

COMMON/WRKSPC/IWORK(N)<br />

where N is normally greater than 10,000. A typical value for N is<br />

100,000. However, N must be equal to LTHWRK.<br />

Call this routine (or SIISIL) first and only once in all application<br />

programs.<br />

Format CALL SICOMM ( IDBUG , LTHWRK )<br />

Input Arguments<br />

Argument<br />

Name<br />

Output Arguments None<br />

Data<br />

Type<br />

Description<br />

and Default<br />

IDBUG I Whether to print debug statements:<br />

0 = Off, do not print debug statements<br />

1 = On, print debug statements<br />

LTHWRK I Length of the workspace. It must be at least 3.<br />

See ”Environment” above.<br />

38 Initialize/Terminate ZPI/O Environment: Internal Routines – SICOMM 5000.0.0

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

Saved successfully!

Ooh no, something went wrong!