Background documentationparam_getvolume Locate this document in the navigation structure

 

Use this command to display the data of an individual volume of the current database.

Prerequisites

You have the server permission ParamRead.

Structure

param_getvolume <vol_no> <vol_mode>

Option

Description

<vol_no>

Number of the volume

<vol_mode>

Mode of the volume

Possible values are: DATA | LOG | MLOG

DATA: data volume

LOG: log volume

MLOG: mirrored log volume

Result

OK

<file_name>

<vol_type>

<vol_size>

Values for the Reply Fields

Value

Description

<file_name>

Name of the device/file

<vol_type>

Type of volume (such as file, raw device)

<vol_size>

Size of the volume

In the event of errors, see Reply Format.

Example

Call Database Manager CLI, log on as the operator OLEG with the password MONDAY, connect to the database DEMODB, and display the data for volume number 0001 of the type DATA:

>dbmcli –u OLEG,MONDAY –d DEMODB param_getvolume 0001 DATA

OK

C:\Documents and Settings\All Users\Application Data\sdb\data\DEMODB\data\DISKD0001

F

32768

More Information

Concepts of the Database System, Volumes (Permanent Storage)