Administrator's Reference

DSMSERV FORMAT (Format the Database and Log)

Use this command to initialize the server database and recovery log. No other server activity is allowed while initializing the database and recovery log.

Attention:

Syntax

>>-DSMSERV FORMAT--number_of_log_files-------------------------->
 
         .-----------------.
         V                 |
>-----+----log_file_name---+-+--number_of_db_files-------------->
      '-file:log_file_name---'
 
         .-----------.
         V           |
>-----+----db_name---+----+------------------------------------><
      '-file:db_file_name-'
 

Parameters

number_of_log_files (Required)
Specifies the number of recovery log files.

log_file_name
Specifies one or more recovery log file names. The files must exist before you issue the command. If you used DSMFMT to create your files, specify the names here, for example logvol1. If you are using logical volumes, add the prefix /dev/r to the name. For example, the filelogvol1 would become /dev/rlogvol1.

The number of names must match the number specified by the number_of_log_files parameter. The minimum size for the log is 9MB.

file:log_file_name
Specifies the name of a file that contains a list of recovery log volumes.The files must exist before you use the DSMSERV FORMAT command.

It is recommended that you specify a fully-qualified name enclosed in single quotes so that you will not be affected by data set name qualification rules that depend on your operating environment.

The number of names must match the number specified by the number_of_log_files parameter. You must list the volumes in the order in which they are to be used. The minimum size for the log is 9MB.

number_of_db_files (Required)
Specifies the number of database files.

db_file_name
Specifies one or more database file names. The files must exist before you issue the command. If you used DSMFMT to create your files, specify the names here, for example dbvol1. If you are using logical volumes, add the prefix /dev/r to the filenames. For example, the filedbvol1 would become /dev/rdbvol1.

The number of names must match the number specified by the number_of_db_files parameter. The minimum size for the database is 5MB.

file:db_file_name
Specifies the name of a file that contains a list of database volumes.

The number of names must match the number specified by the number_of_db_files parameter. You must list the volumes in the order they are to be used. The minimum size for the database is 5MB.

Examples

Task 1

Initialize two log volumes (logvol1 and logvol2) and one database volume (dbvol1):

Command:
dsmserv format 2 logvol1 logvol2 1 dbvol1

Task 2

Initialize the recovery log and database volumes by specifying files containing the volume names:

Command:
dsmserv format 2 file:log.vols 3 file:db.vols


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]