CDBFB
Summary
This command sends the SQL output from the CDBDB command as a
feedback file to a remote CDBS machine. CDBS uses this
feedback file to confirm that the release catalog was installed.
Description
The SQL output from the CDBDB command is located and verified to have completed
successfully (the string "OPUS_MODS_OK" exists in the SQL output if
the database transaction was committed). This file is then transferred,
via FTP, to a remote CDBS machine.
Usage
cdbfb release_name path_name [-local] [-inpass]
The positional parameters 'release_name' and 'path_name' are required
and MUST occur in the order listed. The flags indicated by
"-" can occur in any order following the positional parameters.
Input
Output
Resource File
Required Command-Line Arguments
release_catalog_mask (required)
A newly released catalog file name. Wild card names are permitted.
Will be searched for in CDB_CATALOG_IN_DIR unless the -localfiles flag
is set on the command line, in which case the current directory is used.
path_file_name (required)
An OPUS path file providing resource values. The full path name is
required (OPUS_DEFINITIONS_DIR is not automatically prepended).
Optional Command-Line Arguments
-l[ocal]
Indicates that the catalog and SQL files are to be found in the current
working directory, instead of CDB_CATALOG_IN_DIR and CDB_SQL_DIR
-i[npass]
Used to pass an encrypted password for accessing the remote CDBS system.
If this parameter is not supplied, then an interactive prompt for the password
value is initiated. Even in interactive mode, the password should
be entered in encrypted format.
Examples
$ cdbfb opus_101_z.cat OPUS_DEFINITIONS_DIR:blue.path
Locates the output from the CDBDB SQL execution, called opus_101_z.sqlout
and uses FTP to transfer this file to a CDBS remote machine.