Previous Topic Next topic Print topic


FSV-C-get-log-file-info

Gets the log file information for the currently accessed server.

Syntax:

When the fsview has been initialized using FSV-C the callback uses the following syntax:

call FSV-C-get-log-file-info using      fsvw-data-block

When the fsview has been initialized using FSC-C-long-password the callback uses the following syntax:

call FSV-C-get-log-file-info using      fsvw2-data-block

Parameters:

Parameters when the fsview has been initialized using FSV-C (fsvw-data-block):

fsvw-log-filename
pic x(255).
fsvw-log-filename-size
pic x(2) comp-x.
fsvw-log-filesize
pic x(16).
fsvw-disk-space
pic x(16).
fsvw-disk-size
pic x(16).

Parameters when the fsview has been initialized using FSC-C-long-password (fsvw2-data-block):

fsvw2-log-filename
pic x(255).
fsvw2-log-filename-size
pic x(2) comp-x.
fsvw2-log-filesize
pic x(16).
fsvw2-disk-space
pic x(16).
fsvw2-disk-size
pic x(16).

See the topic FSVIEW Datablock for a complete definition of fsvw-data-block.

On Entry:

None.

On Exit:

When the fsview has been initialized using FSV-C:

fsvw-log-filename
The log file name of the server currently selected.
fsvw-log-filename-size
Length of the name stored in fsvw-log-filename

A value of 0 (zero) means that no log file is in use.

fsvw-log-filesize
The size of the log file.
fsvw-disk-space
The amount of space remaining on the disk.
fsvw-disk-size
The size of the disk.

When the fsview has been initialized using FSC-C-long-password:

fsvw-log-filename
The log file name of the server currently selected.
fsvw-log-filename-size
Length of the name stored in fsvw-log-filename

A value of 0 (zero) means that no log file is in use.

fsvw-log-filesize
The size of the log file.
fsvw-disk-space
The amount of space remaining on the disk.
fsvw-disk-size
The size of the disk.

Comments:

The success of the call can be checked by examining RETURN-CODE.

Previous Topic Next topic Print topic