The database version information program, GTDBINFO, reads the Address Matcher database and the SPD file of GeoTAX and returns the current date and expiration date of each database, and the number of days until each one expires.
Use the following command to call GTDBINFO:
CALL GTDBINFO USING GTDBI-AREA
When calling the GTDBINFO program, it passes to pre-defined parameter areas — blocks of memory with data used by both the executable program and GTDBINFO. These parameter areas must reside in the linkage section of the executable program. The following table describes the GTDBINFO parameter area.
Position |
Name |
Length |
Contents |
---|---|---|---|
1-30 |
Area In |
30 |
None - Reserved for future use. |
31-45 |
Reserved |
|
|
46-47 |
Street File Month |
2 |
2-digit numeric month of Street file vintage |
48-51 |
Street File Year |
4 |
4-digit numeric year of Street file vintage |
52-53 |
Street File Expiration Month |
2 |
2-digit numeric month of Street file expiration |
54-57 |
Street File Expiration Year |
4 |
4-digit numeric year of Street file expiration |
58-60 |
Street File Days Left |
3 |
3-digit number of days until Street file expires |
61-62 |
SPD File Month |
2 |
2-digit numeric month of SPD file vintage |
63-66 |
SPD File Year |
4 |
4-digit numeric year of SPD file vintage |
67-68 |
SPD File Expiration Month |
2 |
2-digit numeric month of SPD file expiration. |
69-72 |
SPD File Expiration Year |
4 |
4-digit numeric year of SPD file expiration. |
73-75 |
SPD File Days Left |
3 |
3-digit number of days until SPD file expires. |
76-100 |
Reserved |
25 |
|