Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. Repositories
  4. XML Data Source
  5. Tests for XML Data Sources
  6. Connections
  7. Expressions
  8. Table Pairs
  9. Tests for Table Pairs
  10. Single-Table Constraints
  11. Tests for Single-Table Constraints
  12. Examples of Tests from Spreadsheets
  13. SQL Views
  14. Lookup Views
  15. Join Views
  16. Aggregate Views
  17. Business Intelligence and Reporting Tools Reports
  18. Dashboards
  19. DVOCmd Command Line Program
  20. Troubleshooting
  21. Appendix A: Datatype Reference
  22. Appendix B: Reporting Views
  23. Appendix C: Metadata Import Syntax
  24. Appendix D: Jasper Reports
  25. Appendix E: 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.

0 COMMENTS

We’d like to hear from you!