Configuring GeoStan

The following sections provide information on configuring GeoStan for different platforms and include the following topics:

Understanding the symbolic constants of GeoStan

The C header file, geostan.h, contains all symbolic constants used or returned by the GeoStan functions. Precisely recommends you review this file before using any GeoStan functions. geostan.h is the proper include file for all C environments.

For each return value, GeoStan defines the maximum length of the value. Symbolic constants use the naming convention <<NAME>>_LENGTH. For example the enum GS_ADDRLINE returns the input or output address line. The maximum length of an address line is 61. Therefore, the symbolic constant is GS_ADDRLINE_LENGTH and is defined as 61.

Using GeoStan on Windows

When using GeoStan on Windows, be sure to define the _WINDOWS symbol. To successfully use GeoStan on Windows, your project must define one or both of the following: __NT__ and _WIN32. You are not warned with compile or link errors if you fail to define these symbols; however, your application will not function properly, and can result in insufficient stack space. Microsoft compilers typically define these symbols for you, but Precisely strongly recommends that you define them in your project for completeness.

Using GeoStan on UNIX

Although Precisely builds GeoStan using the latest technology available, some UNIX developers may encounter difficulties caused by compiler-specific problems or system dependencies. This section explores some peculiarities of the compiler used in the UNIX environment.

Note: When using GeoStan in UNIX, be sure to define the symbol __UNIX. This applies to all UNIX platforms that GeoStan supports.

Object dependencies and standard link libraries

Because UNIX kernels typically have few dependencies and do not require all the standard development environment libraries and files, some standard link libraries (such as the C++ class library) are not included with the "cc" system configuration compiler. GeoStan requires certain standard libraries that are available on every UNIX development platform, but which the application may not find unless you install the appropriate system option.

Note: Some systems may include these libraries as part of a development option, or with an additional package such as the optimizing compiler. Contact your OS vendor for more information about the standard libraries.

To determine what system libraries are needed, run the "ldd" command (http://linuxmanpages.com/man1/ldd.1.php).

For example ldd libgeostan.so in GeoStan 30.00 returns the following on RH Linux:

linux-vdso.so.1 => (0x00007fff555fe000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f9b1a61a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9b1a3fe000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f9b1a0f6000)
libm.so.6 => /lib64/libm.so.6 (0x00007f9b19df4000)libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f9b19bde000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9b1981c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9b1ad79000)

The standard libraries used by GeoStan are:

C++ class library   libC.so, libC.sl, libC.a, etc.

Math library   libm.a, libm.so, libm.sl, etc.

C library   libc.a, libc.so, libc.sl, etc.

 

Note: Beginning with GeoStan v25.0, Solaris applications must also link with the system library libsocket.so.

See the sample make files included as part of the installation for the libraries needed for your system.

Installing libraries and shared libraries

The UNIX system can recognize development libraries when placed in the system environment variables library path. On most systems, the path for this variable is /lib:/usr/lib. Some systems may include additional library directories needed for specific applications or configurations. When a library file has a name such as libname.a, libname.so, or libname.sl(HPUX only), the UNIX system recognizes the library by default as long as it is in the library path.

The GeoStan library is distributed with the names libgeostan.so or libgeostan.sl(HPUX only). To guarantee your system can locate the needed GeoStan libraries, you should include the full path to your precisely/geostan directory in your systems library search path. For example:

AIX   LIBPATH=/usr/precisely/geostan:$LIBPATH ; export LIBPATH

Solaris and Linux   LD_LIBRARY_PATH=/usr/precisely/geostan:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH

HP-UX   SHLIB_PATH=/usr/precisely/geostan:$SHLIB_PATH ; export SHLIB_PATH

Using GeoStan on z/OS

When using GeoStan on z/OS, refer to the installation notes provided with the DVDs or internet download and use the following data definitions (DD names):
Note: The below symbols in the represents the following:
  • * : Needed for the GeoStan Point-Level Data Option.
  • † : Needed for LACS/Link processing.
  • ‡ : Needed for DPV processing.

DD Name

File Type

Required?

Y – Required forGEOCODER

C – Required forCASS

N – Optional

Usage

CITYDIR

Input

Y

City lookup file ctyst.dir

FORMAT

Input

Y

GEOCODER processing

GSDFILE*

Input

Y

First GSD file loaded by GeoStan. If you are using multiple GSD files, you must use this DD Name for the first file.

INFILE

Input

Y

GEOCODER processing

PARSDIR

Input

Y

Parsing tables file parse.dir

AUXFILE

Input

N

Auxiliary file processing.

CBSACDIR

Input

N

CBSA lookup file cbsac.dir

CITYCCI

Input

N

CICS platform specific.

CITYCNI

Input

N

CICS platform specific.

CITYCTI

Input

N

CICS platform specific.

CITYDIR

Input

N

CICS platform specific.

CITYZPI

Input

N

CICS platform specific.

EXTATTnn

Input

N

Extended Attributes files for MLD.

nn = 01 - total number of extatt*p.dld files

For more information, see Extended Attributes.

GSDFILxx*

Input

N

Additional GSD files loaded by GeoStan. The first file must use GSDFILE for correct processing. Additional files must be in sequential order (01, 02, 03..). If the files are not in sequential order, GeoStan will not read the files after the first blank GSDFILxx file.

Note: Used for MLD or other point files.

GSIFILE

Input

N

First alias file loaded by GeoStan. If you are using multiple gsi files, you must use this DD Name for the first file.

GSIFILxx

Input

N

Additional alias files loaded by GeoStan. The first file must use GSIFILE for correct processing. Additional files must be in sequential order (01, 02, 03..). If the files are not in sequential order, GeoStan will not read the files after the first blank GSIFILxx file.

MVSMSG

Input

N

MVS error messages

RDIDB

Input

N

RDI processing

xxMLDPBK

Input

N

Reverse PBKey Lookup processing.

xx = two-letter state or commonwealth abbreviation

Z9FILE

Input

N

ZIP + 4 centroid file us.z9

ZIPCENT

Input

N

CICS platform specific; used for Expanded Search and MLD processing

ZIPMOVE

Input

C

ZIPMove data file us.gsz

CASSTMP

Input

C

CASS template

DPVHDB

Input

C

CASS processing

DPVSUD

Input

C

CASS processing

EWSFILE

Input

C

Valid, unexpired EWS file ews.txt; see Understanding Early Warning System (EWS).

GSLFILE

Input

C

eLOT and Z4Change data file us.gsl

GSUFILE

Input

C

ZIP9 index file gsu

LLKSUD

Input

C

CASS processing

LLKUDB

Input

C

CASS processing

REVALIAS

Input

C

CASS processing

SLKDB

Input

C

SuiteLink processing.

OUTFILE

Output

Y

Written by GEOCODER

AUDIT

Output

N

Written by GEOCODER for audit reports

CEEDUMP

Output

N

Data set for error messages generated by Language Environment Dump Services. Must be a sequential data set and must be allocated to SYSOUT, a terminal, or a unit record device; or the data set must have the attributes RECFM=VBA, LRECL=125, and BLKSIZE=882.

DPVFPRPT

Output

N

DPV processing

GEORPT

Output

N

Accuracy/speed report written by GEOCODER

LACFPRPT >†

Output

N

LACSLink processing

NSTDFILE

Output

N

Non-standard report file.

SEEDLOG ‡

Output

N

LACSLink and DPV processing

SYSERR

Output

N

Alternate output for some C++ programs. Not required unless SYSPRINT and SYSTERM are missing.

SYSPRINT

Output

N

Data set for listings and diagnostics from the user program. LRECL=137, RECFM=VBA, and BLKSIZE=882.

SYSTERM

Output

N

Alternate output for some C++ programs. Not required unless SYSPRINT is missing.

CASSRPT

Output

C

CASS certification repor