Gets header information from a Spatial+ object file.
Syntax
01 SPHANDLE PIC S9(9) BINARY.
01 OBJFILEHEADER.
02 USERDATA PIC X(256).
02 | MAXHEAPSIZE | PIC | S9(9) | BINARY. |
02 | MAXPOINTCOUNT | PIC | S9(9) | BINARY. |
02 | MAXPOLYGONCOUNT | PIC | S9(9) | BINARY. |
02 | XMIN | PIC | S9(9) | BINARY. |
02 | YMIN | PIC | S9(9) | BINARY. |
02 | XMAX | PIC | S9(9) | BINARY. |
02 | YMAX | PIC | S9(9) | BINARY. |
02 | COORDSYS | PIC | S9(9) | BINARY. |
02 | FLAGS | PIC | S9(9) | BINARY. |
02 | NUMPOINTS | PIC | S9(9) | BINARY. |
02 | NUMLINES | PIC | S9(9) | BINARY. |
02 | NUMREGIONS | PIC | S9(9) | BINARY. |
02 | FILLR | PIC | X(5). |
01 SPRETCODE PIC S9(9) BINARY.
*
CALL 'SPOHFQRY' USING SPHANDLE, OBJFILEHEADER,
SPRETCODE.
Arguments
SPHANDLE The handle returned by SPINIT for the current instance of Spatial+. Input.
OBJECTFILEHEADER The structure to be filled with the header information.
Output.
Return Values
PIP-OK
PIP-ERROR
Prerequisites
SPINIT
Alternates
None.