Opens ZIP + 4 Z9 file for processing.
Syntax | ||
01 | PIP | PIC S9(9) BINARY. |
01 | FILENAME | X(80). |
01 | SPHANDLE | PIC S9(9). |
01 SPRETCODE PIC S9(9) BINARY.
*
CALL ‘SPZ4OPN'
USING PIP, FILENAME, SPHANDLE, SPRETCODE.
Arguments
PIP The handle returned by SPINIT for the current instance of Spatial+. Input.
FILENAME The complete DD name of a Spatial+ object file to open. Input.
SPHANDLE The handle of the opened ZIP + 4 Z9 file. Output.
Return Values
PIP-OK
PIP-ERROR
SPINIT.
Prerequisites
Alternates
None.
Notes
This procedure opens a GeoStan ZIP + 4 Z9 file for processing. The SPHANDLE parameter contains a handle that is passed to all other SPZ4* procedures.
If you do not provide a DD name (FILENAME is low values), then Spatial+ opens the DD name Z9FILE by default.