VERIFIED SOLUTION i
X

How to resolve GTMATCH Memory access violation in GeoTAX

Issue

The error "memory access violation" is returned when 'runcbl' is executed from the command line and pass the GTMATCH.acu file as argument. This was done after successfully running the sample reports.

The below errors are returned with GTMATCH.acu file.
 
Runtime version 8.1.0 + ECN-3858 + ECN-3946 + ECN-3950 + ECN-4076 + ECN-4093
Set parameter 'SCROLL' to TRUE
Set parameter 'SHARED_LIBRARY_PREFIX' to '/opt/app/grp1adm/geoTax/gtx/lib'
Set parameter 'ACUCOBOL' to '/opt/app/grp1adm/geoTax/g1rts'
Set parameter 'CODE_CASE' to 0
Set parameter 'CODE_PREFIX' to '.:/opt/app/grp1adm/geoTax/gtx/lib'
Set parameter 'ERRORS_OK' to 1
Set parameter 'FILE_ALIAS_PREFIX' to 'DD_'
Set parameter 'FILE_PREFIX' to '.:/opt/app/grp1adm/geoTax/gtx/data'
Set parameter 'IO_FLUSH_COUNT' to 0
Set parameter 'LOCK_OUTPUT' to TRUE
Set parameter 'REL_DELETED_VALUE' to 5
Set variable 'SHARED_LIBRARY_LIST' to value 'G1PIOMGR.so:LLOFFST.so:libspatial.so'
open library: G1PIOMGR.so
G1PIOMGR.so loaded
open library: LLOFFST.so
LLOFFST.so loaded
open library: libspatial.so
libspatial.so loaded
Set parameter 'SORT_DIR' to '/opt/app/grp1adm/geoTax/gtx'
Set parameter 'USE_LARGE_FILE_API' to TRUE
Set parameter 'WARNINGS' to 0
Configuration file = '/etc/cblconfig'
/etc/cblconfig: No such file or directory
/opt/app/grp1adm/geoTax/g1rts/lib/AcuPgms.lib loaded
Try loading 'GTMATCH.acu'...
GTMATCH.acu: No such file or directory
Try loading 'GTMATCH'...
GTMATCH: No such file or directory
Try loading '/opt/app/grp1adm/geoTax/gtx/lib/GTMATCH.acu'...
/opt/app/grp1adm/geoTax/gtx/lib/GTMATCH.acu loaded
Try loading 'GTSTMAT.acu'...
GTSTMAT.acu: No such file or directory
Try loading 'GTSTMAT'...
GTSTMAT: No such file or directory
Try loading '/opt/app/grp1adm/geoTax/gtx/lib/GTSTMAT.acu'...
/opt/app/grp1adm/geoTax/gtx/lib/GTSTMAT.acu loaded
Try loading 'GTDBLIO.acu'...
GTDBLIO.acu: No such file or directory
Try loading 'GTDBLIO'...
GTDBLIO: No such file or directory
Try loading '/opt/app/grp1adm/geoTax/gtx/lib/GTDBLIO.acu'...
/opt/app/grp1adm/geoTax/gtx/lib/GTDBLIO.acu loaded
Try loading 'GTIOBAT.acu'...
GTIOBAT.acu: No such file or directory
Try loading 'GTIOBAT'...
GTIOBAT: No such file or directory
Try loading '/opt/app/grp1adm/geoTax/gtx/lib/GTIOBAT.acu'...
/opt/app/grp1adm/geoTax/gtx/lib/GTIOBAT.acu loaded
Try loading 'GCP10.acu'...
GCP10.acu: No such file or directory
Try loading 'GCP10'...
GCP10: No such file or directory
Try loading '/opt/app/grp1adm/geoTax/gtx/lib/GCP10.acu'...
/opt/app/grp1adm/geoTax/gtx/lib/GCP10.acu loaded
Memory access violation
COBOL error at 009AF0 in GTMATCH

 
 

Cause

The function 'runcb'l cannot be executed using GTMATCH as is done with GTBM00.  There are additional arguments that have to be applied to call GTMATCH as is done in GTBM00.  GTMATCH is not a driver program whereas GTBM00 is.
 

Resolution

UPDATED: April 18, 2017


There is an API which we provide with the installation to call GTMATCH.  For Unix, we provide the code for the API (main piece is gtxpai.c) which shows how to call GTMATCH directly (function is CallGTMATCH).  If the use of the API is required, then it has to be built via the make file we also provide.

The GeoTAXWorkingwith Guide OpenSys explains how to call the GTMATCH function using COBOL in chapter 13 and chapter 14 explains the function calls (APIs) available for use with GeoTAX™.

Environment Details

Product affected: GeoTAX™
 

Downloads

  • No Downloads