SPATIBNU - spatial_geostan - 2024.00

Spatial+ Reference for Windows, UNIX/Linux, z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Spatial+
Version
2024.00
Language
English
Product name
Spatial+
Title
Spatial+ Reference for Windows, UNIX/Linux, z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-07
Published on
2024-05-07T22:16:04.316305

Retrieves the data in the GSA attribute file based on the column number.

Syntax

01 SPHANDLE PIC S9(9) BINARY.

01 FIELDNUMBER PIC S9(9) BINARY.

01 INFO.

02 NAME PIC X(12).

02 VALUE PIC X(256).

02 LENGTH PIC S9(9) BINARY.

02 TYPE PIC S9(9) BINARY.

02 DECIMALS PIC S9(9) BINARY.

01 SPRETCODE PIC S9(9) BINARY.

*

CALL 'SPATIBNU' USING SPHANDLE, FIELDNUMBER,

NAME, BUFSIZE, SPRETCODE.

Arguments

SPHANDLE The file handle of the opened object file. Input. FIELDNUMBER The field index into the attribute GSA file. Input.

INFO The INFO that contains the information about the attribute. Output.

Return Value

PIP-OK PIP-ERROR

PIP-NOT-FOUND

Prerequisites

SPOFOP

Alternates

None.

Notes

The SPATIBNU function uses INFO as a data structure to hold information about the specified attribute.

Example

The INFO structure holds the following file information:

Field Description

02 NAME PIC X(12). Field name

02 VALUE PIC X(256). Field value 02 LENGTH PIC S9(9) BINARY. Field length

02 TYPE PIC S9(9) BINARY. Field type: CHARACTER=67, NUMERIC=78.

02 DECIMALS PIC S9(9) BINARY. If numeric, are there any decimals?