Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. New Features and Behavior Changes
  4. Repositories
  5. XML Data Source
  6. Tests for XML Data Sources
  7. Connections
  8. Expressions
  9. Table Pairs
  10. Tests for Table Pairs
  11. Single-Table Constraints
  12. Tests for Single-Table Constraints
  13. Examples of Tests from Spreadsheets
  14. SQL Views
  15. Lookup Views
  16. Join Views
  17. Aggregate Views
  18. Business Intelligence and Reporting Tools Reports
  19. Dashboards
  20. DVOCmd Command Line Program
  21. Troubleshooting
  22. Datatype Reference
  23. Reporting Views
  24. Metadata Import Syntax
  25. Jasper Reports
  26. Glossary

Data Validation Option User Guide

Data Validation Option User Guide

CopyFolder

CopyFolder

Copies the contents of a folder in a user workspace to a different folder in the same workspace or to another user workspace. The target folder must be a new folder. The target folder cannot exist in the target workspace. You can run this command on Windows.
The
CopyFolder
command copies the table pairs, single tables, and test cases that exist within the source folder. It does not copy test runs or the external IDs associated with table pairs or single tables.
If the table pairs or single tables in the source folder use an SQL or lookup view, the
CopyFolder
command copies the SQL or lookup view to the target user workspace unless the workspace contains a view with the same name.
Before Data Validation Option copies a folder, it verifies that all data sources associated with the objects being copied exist in the target workspace. If any data source is missing, Data Validation Option does not copy the folder.
The
CopyFolder
command uses the following syntax:
DVOCmd CopyFolder [--confdir conf_dir] [--username Username] [--password Password] [--ePassword Password Environment Variable] [--namespace Namespace] --fromUser source_user --fromFolder source_folder --toUser target_user [--toFolder target_folder] [--reuseViews Yes]
The following table describes
CopyFolder
options and arguments:
Option
Argument
Description
--confdir
CONFDIR
The user configuration directory. Specify the configuration directory if you have multiple Data Validation Option repositories on a client machine. If you have one Data Validation Option repository on a client machine and have not changed the configuration directory, you do not need to specify this option. Because Windows directories often contain spaces, you must enclose the file path in quotes.
--username
USERNAME
Informatica domain user name for the domain to which you configured Informatica authentication.
Required if you configure Informatica Authentication.
--password
PASSWORD
Password for the Informatica user name.
If you set the
password
option, then do not set the
ePassword
option.
Required if you configure Informatica Authentication.
--ePassword
PASSWORD ENVIRONMENT VARIABLE
Encrypted form of the password of the Informatica user name.
Use the DVOCmd EncryptPassword command to encrypt the password. Set an environment variable to the encrypted password and use the variable in the
ePassword
option. The command replaces the environment variable with the encrypted password and then decrypts the password.
If you set the
ePassword
option, then do not set the
password
option. If the command contains both the
password
and
ePassword
options, then the Data Validation Option uses the
ePassword
and ignores the
password.
--namespace
NAMESPACE
Namespace of the LDAP domain.
Required if you configure Informatica Authentication with LDAP domain.
--fromUser
FROMUSER
Name of the source user. Data Validation Option copies the folder in this user workspace.
--fromFolder
FROMFOLDER
Name of the source folder. Data Validation Option copies this folder.
--toUser
TOUSER
Name of the target user. Data Validation Option copies the folder to this user workspace. The source user and the target user can be the same user.
--toFolder
TOFOLDER
Name of the target folder. The target folder must be unique in the target workspace. If you do not specify a target folder, Data Validation Option creates a folder in the target workspace with the same name as the source folder.
--reuseViews
REUSEVIEWS
Reuses an SQL or lookup view in the target workspace when the workspace contains a view with the same name as a source SQL or lookup view. If you specify this option, Data Validation Option does not copy the source view to the target workspace. If you do not specify this option, Data Validation Option prompts you for the action to take when views with the same name are found.