Backup_Context
Nobackup_Context
The Backup_Context qualifier specifies that the following
symbols be initialized, unless you have issued a DCL SET
SYMBOL/SCOPE=(NOLOCAL, NOGLOBAL) command:
o RDM$AIJ_SEQNO
Contains the sequence number of the last .aij backup file
written to tape. This symbol has a value identical to RDM$AIJ_
BACKUP_SEQNO. RDM$AIJ_SEQNO was created prior to Oracle Rdb
Version 6.0 and is maintained for compatibility with previous
versions of Oracle Rdb.
o RDM$AIJ_CURRENT_SEQNO
Contains the sequence number of the currently active .aij
file. A value of -1 indicates that after-image journaling is
disabled.
o RDM$AIJ_NEXT_SEQNO
Contains the sequence number of the next .aij file that
needs to be backed up. This symbol always contains a positive
integer value (which may be 0).
o RDM$AIJ_LAST_SEQNO
Contains the sequence number of the last .aij file available
for a backup operation, which is different from the current
sequence number if fixed-size journaling is being used. A
value of -1 indicates that no journal has ever been backed up.
If the value of the RDM$AIJ_NEXT_SEQNO symbol is greater than
the value of the RDM$AIJ_LAST_SEQNO symbol, then no more .aij
files are currently available for the backup operation.
o RDM$AIJ_BACKUP_SEQNO
Contains the sequence number of the last .aij file backed
up (completed) by the backup operation. This symbol is set
at the completion of an .aij backup operation. A value of -
1 indicates that this process has not yet backed up an .aij
file.
o RDM$AIJ_COUNT
Contains the number of available .aij files.
o RDM$AIJ_ENDOFFILE
Contains the end of file block number for the current AIJ
journal.
o RDM$AIJ_FULLNESS
Contains the percent fullness of the current AIJ journal.
o RDM$HOT_STANDBY_STATE - Contains the current replication
state. Possible state strings and the description of each
state are listed below:
- "Inactive" - Inactive
- "DB_Bind" - Binding to database
- "Net_Bind" - Binding to network
- "Restart" - Replication restart activity
- "Connecting" - Waiting for LCS to connect
- "DB_Synch" - Database synchronization
- "Activating" - LSS server activation
- "SyncCmpltn" - LRS synchronization redo completion
- "Active" - Database replication
- "Completion" - Replication completion
- "Shutdown" - Replication cleanup
- "Net_Unbind" - Unbinding from network
- "Recovery" - Unbinding from database
- "Unknown" - Unknown state or unable to determine state
o RDM$HOT_STANDBY_SYNC_MODE - Contains the current replication
synchronization mode when replication is active. Possible
synchronization mode strings are listed below:
o "Cold"
o "Warm"
o "Hot"
o "Commit"
o "Unknown"
The Nobackup_Context qualifier specifies that the preceding
symbols will not be initialized.
The Nobackup_Context qualifier is the default.
Note that these are string symbols, not integer symbols, even
though their equivalence values are numbers. Therefore performing
arithmetic operations with them produces unexpected results.
If you need to perform arithmetic operations with these symbols,
first convert the string symbol values to numeric symbol values
using the OpenVMS F$INTEGER lexical function. For example:
$ SEQNO_RANGE = F$INTEGER(RDB$AIJ_LAST_SEQNO) -
_$ - F$INTEGER(RDB$AIJ_NEXT_SEQNO)