This section describes Reality commands that provide compatibility with other MultiValue systems.
See also the MultiValue Compatibility sections in the English, Proc and DataBasic sections.
The format used for Reality tape images is different to the pseudo-floppy (.vtf) format used by other MultiValue systems. The commands in this section allow you to transfer data between Reality and other MultiValue systems by converting Reality tape images into MultiValue pseudo-floppy images and vice versa.
Converts a MultiValue pseudo-floppy image into a Reality tape image.
FLOPPYTOTAPE path filename {(options}
path The path of the directory on the host system containing the MultiValue pseudo-floppy image.
filename The name of the file containing the MultiValue pseudo-floppy image.
Note: You will be prompted for any missing parameters.
A Specifies that the program should prompt for a directory in which to save the converted tape image.
B Prompt for the block size of the pseudo-floppy image. Only valid with the D and E options.
C{n} Sets the Reality tape compression to level n; defaults to 5. If the C option is omitted, the converted tape image is uncompressed.
D Specifies that the pseudo-floppy image is in mvEnterprise tape image format.
E Specifies that the pseudo-floppy image is in mvEnterprise Save tape format.
J Specifies that the pseudo-floppy image is in jBASE tape image format.
K Suppresses the progress '#' characters.
M Prompt for the number of multipart pseudo-floppy images.
U Use UNIX alphabetic extensions (aa instead of -n). Only valid with the M option.
FLOPPYTOTAPE reads the MultiValue pseudo-floppy image filename from the host directory specified in path and converts it to a Reality tape image. Unless the A option is specified, the tape image is saved in the same host directory and is given the same name as the pseudo-floppy image, but with the file extension ‘.rti’ or ‘.rci’. Compressed tape images have the extension ‘.rci’ and uncompressed images the extension ‘.rti’.
Caution
Any existing file with the same name will be overwritten.
FLOPPYTOTAPE cannot convert compressed pseudo-floppy images. Before converting a compressed image, uncompress it using, for example, uncompress (UNIX) or WINZIP (Windows). Before uncompressing the image, it may be necessary to rename it so that it has the correct file extension; refer to the documentation for your uncompression utility for details.
FLOPPYTOTAPE cannot convert pseudo-floppy images larger than 128Terabytes. Larger files can be split into multipart images with the UNIX split command (available for Windows as part of Cygwin).
FLOPPYTOTAPE C:\images\tapes PFDATA (C6
Converts the file C:\images\tapes\PFDATA into a Reality tape image. The tape image is saved with level 6 compression, in the file C:\images\tapes\PFDATA.rci.
Converts a Reality tape image into a MultiValue pseudo-floppy image.
TAPETOFLOPPY path tape-image {(options}
path The path of the host directory containing the Reality Tape image.
tape-image The name of the host file containing the Reality Tape image. This must have a file extension of either ‘.rci’ or ‘.rti’.
Note: You will be prompted for any missing parameters.
A Specifies that the program should prompt for a directory in which to save the converted pseudo-floppy image.
M Specifies that the pseudo-floppy image should be in mvBase format.
S Suppresses the progress '#' characters.
TAPETOFLOPPY reads the Reality tape image tape-image from the directory path and converts it to a MultiValue pseudo-floppy image. Unless the A option is specified, the pseudo-floppy image is saved in the same host directory and is given the same name as the tape image, but without the extension ‘.rti’ or ‘rci’.
Caution
Any existing item with the same name will be overwritten.
Only Reality tape images that have a block size that is a multiple of 500 can be converted to MultiValue pseudo-floppy images.
Note: When saving an account that will be restored on a different type of MultiValue system, you should use the OLD-ACCOUNT-SAVE command. If you use ACCOUNT-SAVE you may not be able to restore the data.
TAPETOFLOPPY C:\images\tapes PFDATA.rci
Converts the Reality tape image C:\images\tapes\PFDATA.rci into a MultiValue pseudo-floppy image. The image is saved in the file C:\images\tapes\PFDATA.
By default, the Reality SP-ASSIGN command will close any open print jobs. This behaviour can be changed by setting the SPASSIGN environment option, so that open print jobs will only be closed if SP-ASSIGN is called with no parameters.
Four additional ACCOUNT-RESTORE options are provided:
D Doubles the modulo in the files restored. Use this option if the target system has a smaller frame size.
H Halves the modulo in the files restored. Use this option if the target system has a larger frame size.
These options simplify restoring accounts onto systems with a frame size smaller or larger than the original. Note, however, that in both cases the new modulo will be only a working approximation to allow the system to work reasonably efficiently. For optimum efficiency, set the database's frame size to be the same as the original – either specify the frame size when you create the database (see mkdbase) or set FrameSize parameter in the master configuration file.
J Allows jBASE file save tapes to be restored onto Reality. Note, however, that any item that has the same name as a file definition item will be overwritten by the file definition item.
M34 Restores a tape image that has been converted from an mvEnterprise Save tape using FLOPPYTOTAPE. Before doing this, you should use VERIFY-SAVE to check that the image can be restored successfully.
An additional VERIFY-SAVE option is provided:
M34 Allows you to check that a tape image that has been converted from an mvEnterprise Save tape using FLOPPYTOTAPE can be restored onto Reality.
Converts accounts saved from other MultiValue systems to run on Reality.
MIGRATE.ACCOUNT {accountList} {(options}
accountList Either:
- A space-separated list of account names.
- An asterisk (*) to specify all accounts.
If there is an active select list, do not specify a list of accounts. If there is no active select list, and you have not specifed a list of accounts, you will be prompted for the names of the accounts to convert.
O Repeat the migration process, including those parts that have been successfully completed.
This allows you to continue if the migration process
P Sends verbose output to the printer.
U Asks for confirmation before processing each account.
V Verbose mode.
SYSMAN account only.
Before running
Each account is processed as follows:
The following changes are made only to local accounts:
NON-NORTHGATE-
.If converting from mvEnterprise, directory pointers (dictionary items with attribute 1 = "QR") are replaced by Reality directory views.
Note: If the directory specified does not exist, an error message will be displayed when you attempt to access the associated Reality file.