[Files] Are Identical
Q100052: [Files] Are Identical
Determines whether two files are identical. You can elect to emit an error if the files are different, or if they are identical.
Parameter | In/Out | Description | Other Info |
---|---|---|---|
Pathname 1 | In | The fully-qualified pathname for the file you want to compare against the file in pathname 2. Example: c:\temp\myfile1.dat |
|
Pathname 2 | In | The fully-qualified pathname for the file you want to compare against the file in pathname 1. Example: c:\temp\myfile2.dat |
|
Working mode | In | Choices: ContinueJob , StopJobIfDifferent , StopJobIfIdentical Do you want this module to continue or fail if the files are the same or different? If you continue, you can query the "FilesAreIdentical" output parameter value (True or False) in a subsequent step and act accordingly. |
Default: ContinueJob |
Stop outcome | In | Choices: WithFailure , WithSuccess If the fail mode is set to stop the module, how should the module report its status? "WithFailure" will record the module stopping with a fail status. "WithSuccess" will record the module stpping with a success status. |
Default: WithFailure |
Log output level | In | Choices: Minimal , Verbose The level of execution detail you want to appear in the log. |
Default: Minimal |
Files are identical? | Out | Returns TRUE if files are identical, otherwise FALSE. |
(Italics = required parameters)
Notes
This file comparison check always uses a binary file comparison to check for the files being identical or not. Thus for example, files that have the same text but where one file uses TAB characters and the other uses the equivalent number of spaces, then the files will not be a binary match.
Last Updated:
10/3/2023 1:07:04 AM