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.

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

Structure of Programs Using ZPI/O<br />

To help you write a program using ZPI/O routines, this topic includes<br />

an outline of the general structure of a program and an example<br />

program.<br />

General Structure of Programs Using ZPI/O<br />

The following outline briefly describes the structure of a program<br />

which uses ZPI/O. This should serve as a guide and not as a fixed<br />

structure, but the general sequence of events must be preserved for<br />

ZPI/O to function properly.<br />

I. Initialization<br />

A. Initialize the ZPI/O environment – SICOMM or SIISIL<br />

B. ZIMS initialization, initialize master files – SIIZIM<br />

C. ZIGS initialization – SIIZIG<br />

II. File Utilities<br />

A. Open new dataset – SINOPN<br />

B. Write field descriptors – SIFLDW<br />

C. Read data – SIFRED<br />

D. Write data – SIFWRT<br />

E. Write parameter record – SIPRWD, SIPRWG or SIPRWC<br />

F. Close dataset – SIFCLO<br />

III. Graphics Features<br />

A. Open graphics file – SIIZGF<br />

B. Open picture – S3IPIC, S2NPIC, S2OPIC or SIRPIC<br />

C. Graphics – Draw and Plot Features or Graphics Utilities<br />

D. Close picture – SIEPIC<br />

E. Close graphics file – SIEZGF<br />

IV. Termination<br />

A. Close graphics – SIEZIG<br />

B. Terminate ZPI/O environment – SIIESIL<br />

5000.0.0 ZPI/O Overview: Structure of Programs Using ZPI/O 6

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

Saved successfully!

Ooh no, something went wrong!