Executes the HCOSS Compare Data tool from the command line.
Syntax:
MFTestConversion {X=["]compareDataTaskFile["] | IN=["]compareCommandsFile["]};
[XLocal={TRUE | FALSE};]
[INLocal={TRUE | FALSE};]
[DB2=DB2DataSource;]
[U1=DB2Userid;]
[P1=DB2Password;]
[SRV=SQLServerDataSource;]
[U2=SQLServerUserid;]
[P2=SQLServerPassword;]
[TYPELOG={CONSOLE | FILE | BOTH};]
Parameters:
- X
- The name of a compare data task file containing compare commands generated by the UI version of the Compare Data tool. Do not specify a file extension. The file extension for a compare data task file is
.hcocpt. If the compare data task file name contains spaces, surround it with a set of double quotes ("). The location of a compare data task file is determined by the selection of either the
Local or
Shared button for the compare data task.
- IN
- A flat text input file containing HCOSS COMPARE commands designed to carry out a user-defined set of comparisons. You can code this file in any text editor. No filenaming convention is enforced for this file; however, if the file name contains spaces, surround it with a set of double quotes (").
- XLocal
- Specifies the location of the compare data task file. Compare data task files are stored in the
\CompareTasks subdirectory of either of the following, depending on the value specified:
TRUE
|
Directory specified by the
Local HCOSS Directory HCOSS option. Default.
|
FALSE
|
Directory specified by the
Shared HCOSS Directory HCOSS option.
|
- INLocal
- Determines the location of the compare commands file. Compare commands files are stored in the
\CompareTasks subdirectory of either of the following, depending on the value specified:
TRUE
|
Directory specified by the
Local HCOSS Directory HCOSS option. Default.
|
FALSE
|
Directory specified by the
Shared HCOSS Directory HCOSS option.
|
- DB2
- The name of a cataloged and registered DB2 data source. Required when using the IN parameter, and required when using the X parameter only to override the connection specified in the compare data task file.
- U1
- The user ID required to access the DB2 data source specified either by the
DB2 parameter or within the data task file, if applicable, and if the user ID for the DB2 data source is not stored with the specified connection.
- P1
- The password required for the user ID specified by the
U1 parameter, if applicable, and if the password for the user ID specified in the
U1 parameter is not stored with the specified connection.
- SRV
- The name of a cataloged and registered SQL Server data source. Required when using the IN parameter, and required when using the X parameter only to override the connection specified in the compare data task file.
- U2
- The user ID required to access the SQL Server data source specified either by the
SRV parameter or within the data task file. Not required when using Windows authentication. If not using Windows Authentication, this is required only if the user ID for the SQL Server data source is not stored with the specified connection.
- P2
- The password required for the user ID specified by the
U2 parameter, if applicable, and if the password for the user ID specified in the
U2 parameter is not stored with the specified connection.
- TYPELOG
- Sets the type of logging to perform. Defaults to the equivalent of the value specified for the
Type of logging to do HCOSS option.
Comment:
Parameters may be given in any order.
Example:
MFDataTransferCtlr DB2=MVS91; SRV=HCODemo; X=LocalCompareData; TYPELOG=FILE
MFDataTransferCtlr DB2=MVS91; SRV=HCODemo; X=SharedCompareData; XLocal=FALSE