Retrieves the header information for the current object.
Syntax
01 OBJECTHEADER.
02 NAME PIC X(128).
02 NAME2 PIC X(128).
02 SP-TYPE PIC S9(9) BINARY.
02 LAYER PIC S9(9) BINARY.
02 XCENTER PIC S9(9) BINARY.
02 YCENTER 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 PSTYLE PIC S9(9) BINARY.
02 PWIDTH PIC S9(9) BINARY.
02 PCOLOR PIC S9(9) BINARY.
02 BSTYLE PIC S9(9) BINARY.
02 BCOLOR PIC S9(9) BINARY.
02 BBCOLOR PIC S9(9) BINARY.
-
01 SPOBJHANDLE PIC S9(9) BINARY.
01 SPRETCODE PIC S9(9) BINARY.
-
CALL ‘SPOGTINF'
USING SPOBJHANDLE, OBJECTHEADER, SPRETCODE.
Arguments
SPOBJHANDLE The handle of the opened object file. Input.
OBJECTHEADER Structure containing attribute information about an object.
Output.
Return Values
PIP-OK
PIP-ERROR
Prerequisites
SPOFFCT, SPOFFNM, SPOFFNR, SPOFFPG, or SPOFFREC.
Alternates
None.