Guideline; Sqlcatalogs; Guidelines; Sqlcompile - HP BACKCOPY Reference Manual

Guardian disk and tape utilities
Table of Contents

Advertisement

Guideline

You can use the SCRATCHVOL option if disk space is inadequate when converting key-sequenced
files. If you omit the SCRATCHVOL option and file conversion is performed, RESTORE places the
temporary files (with prefix ZZRA) on the current default volume and subvolume. If disk space is
inadequate, RESTORE returns error 43 (unable to obtain disk space for file extent) for the file that
was to be converted.

SQLCATALOGS

The SQLCATALOGS option specifies whether SQL catalogs are to be restored. The catalogs are
not restored without this option.
SQLCATALOGS [ ON | OFF ]
ON
enables you to restore a table that is part of an SQL catalog. It is restored as an ordinary
(noncatalog) table with a file code of 0. ON is the default if you specify the SQLCATALOGS
option in the RESTORE command.
OFF
specifies that catalogs are not restored. OFF is the same as omitting the SQLCATALOGS option
from the RESTORE command.

Guidelines

If you try to restore a table to the same file name as an existing catalog table, an SQL error
occurs.
The SQLCATALOGS ON option should be used only to recover catalog data when TMF
recovery is not possible. To restore SQL catalogs using RESTORE, consult your service provider.
For more information, see the SQL/MP Installation and Management Guide.

SQLCOMPILE

The SQLCOMPILE option specifies whether an SQL object program file is recompiled automatically
during a RESTORE process.
SQLCOMPILE [ ON | OFF ]
ON
specifies that when an SQL program file is restored, the program is automatically recompiled
using the logical DEFINEs stored with the program description when it was previously compiled.
ON is the default if you specify the SQLCOMPILE option in the RESTORE command.
OFF
specifies that the SQL program file is restored without being recompiled. OFF is the same as
omitting the SQLCOMPILE option from the RESTORE command.
Guidelines
All SQL programs that you are restoring, as well as all programs that use tables, indexes, or
views, must be recompiled. This is performed automatically if you use SQLCOMPILE ON in
your RESTORE command.
The SQLCOMPILE ON option works only if the SQL program file on the source tape was
compiled before it was backed up (and is therefore sensitive to SQL). For more information
RESTORE Options 153

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

PakUnpakRestoreDcomDsapBackup ... Show all

Table of Contents