Gets the database information for the currently accessed server.
Syntax:
call FSV-C-get-database-info using fsvw-data-block
Parameters:
fsvw-data-block
|
A group item defined as: |
fsvw-dbase-filename |
pic x(255). |
fsvw-dbase-filename-size |
pic x(2) comp-x. |
fsvw-dbase-filesize |
pic x(16). |
See the topic FSVIEW Datablock for a complete definition of fsvw-data-block.
On Exit:
fsvw-dbase-filename
|
The database file name of the currently selected server. |
fsvw-dbase-filename-size
|
Length of the name stored in fsvw-dbase-filename A value of 0 (zero) means that no database in use.
|
fsvw-dbase-filesize
|
The size of the database file |
Comments:
This call does not directly return information to the calling program but makes repeated calls back to a user-defined call. Up to 10 entries at a time will be sent to the callback. You must provide the callback specified in the FSVIEW function FSV-C-add-to-dbase-list.
The success of the call can be checked by examining RETURN-CODE.