Previous Topic: END CommandNext Topic: GETRPT Command


EXPORT Command

Authorization: SYSADMIN

To convert a job template, exception, or exclusion file from the CA VM:Backup internal format to TPI format, use the EXPORT command. EXPORT also copies the converted file from the CA VM:Backup A-disk to the requesting user ID A-disk.

If you enter the EXPORT command from the console, CA VM:Backup places the exported file on its 191 minidisk. You cannot issue the EXPORT command using CP SMSG.

If the specified file exists on the requesting user ID A-disk, use the REPLACE option or the command fails.

This command has the following format:

EXPORT filename filetype [("Options"...[)]]

Options:
DISK
NOTERM
REPlace
TEST

Definitions

filename filetype

Specifies the filename and filetype of the job template file, exception file, or exclusion file. The filename must be a valid CMS filename. The filetypes are as follows:

TEMPLATE

Job template

XCEPT

Exception

XCLUDE

Exclusion

When CA VM:Backup converts the files to the TPI format, it changes the filetypes to $TEMPLAT, $XCEPT, or $XCLUDE.

DISK

CA VM:Backup writes diagnostic messages describing syntax errors in the input file. By default, CA VM:Backup writes diagnostic messages to the terminal only. DISK specifies that these messages are written to a file with the same filename as the file that is listed on the command. The filetype of the file is VMBMEMO. CA VM:Backup creates this file on the requesting user ID A-disk.

NOTERM

Specifies that CA VM:Backup does not write to the terminal diagnostic messages describing syntax errors in the input file.

REPlace

On the requesting user ID A-disk, if a file already exists with the same filename and filetype as the one that EXPORT creates, REPlace replaces the existing file with the new file. If such a file exists and you do not specify this option, the export fails.

TEST

Specifies that CA VM:Backup tests the input file for correctness, but does not create an output file on the requesting user ID A-disk.

Examples

You want to convert a job template file named WEEKLY TEMPLATE, that is on the CA VM:Backup A-disk, to TPI format. A file named WEEKLY $TEMPLAT already exists on your A-disk. You want CA VM:Backup to replace this file with the newly converted file. Enter the following command:

vmbackup export weekly template (replace