GetGTXDBInfo - GeoTAX_Premium - 7 - 7.7

GeoTAX Premium for Windows, UNIX/Linux, and z/OS

Product type
Software
Portfolio
Verify
Product family
Geo Addressing
Product
GeoTAX Premium
Version
7.7
Language
English
Product name
GeoTAX Premium
Title
GeoTAX Premium for Windows, UNIX/Linux, and z/OS
Copyright
2023
First publish date
1998
ft:lastEdition
2023-10-19
ft:lastPublication
2023-10-19T16:49:54.924301

GetGTXDBInfo will query two files of the Street Database and the SPD File and return the vintage date of each. If also returns the date the files will expire and the number of days remaining until they do expire.

Syntax

GetGTXDBInfo (&stGTXDBInfo, lFixedString);

Parameters

DBINFO stGTXDBInfo;    /* I/O structure for DBINFO (see below) */
long lFixedString;     /* String termination flag */

Input/Output Structure

Data structure for DBINFO

Elements

Data Type

Description

szGenioPGM

char[8+1]

Unused at this time

szBaseFileDate

char[6+1]

Unused at this time

szBaseExpDate

char[6+1]

Unused at this time

szBaseDaysLeft

char[3+1]

Unused at this time

szStreetFileDate

char[6+1]

Vintage of the Street files (G1GTGTD)

szStreetExpDate

char[6+1]

Expiration date of the Street files

szStreetDaysLeft

char[3+1]

Number of days until Street files expire

szSPDFileDate

char[6+1]

Vintage of the SPD file (GTBDSPD)

szSPDExpDate

char[6+1]

Expiration date of the SPD file

szSPDDaysLeft

char[3+1]

Number of days until the SPD file expires

Code Example

#include “GeoTAX.h”
DBINFO stGTXDBInfo;
long lReturnCode;
long lFixedString;
.
.
.
lFixedString = 0;
 
lReturnCode = GetGTXDBInfo (&stGTXDBInfo, lFixedString);
 
if (lReturnCode = GTXAPI_SUCCESS)
{
printf ("\nStreet File Vintage Date = '%s'", stGTXDBInfo.szStreetFileDate);
printf ("\nDays until Street Files expires='%s'",    stGTXDBInfo.szStreetDaysLeft);
printf ("\nSPD File Vintage Date = '%s'", stGTXDBInfo.szSPDFileDate);
printf ("\nDays until SPD File expires = '%s'", stGTXDBInfo.szSPDDaysLeft);
}