DIFFERENCES

From VSI OpenVMS Wiki
Jump to: navigation, search

DIFFERENCES is a DCL command that compares the contents of two disk files and displays a listing of the records that do not match.

DIFFERENCES is invoked with DIFF.EXE.

Syntax

DIFFERENCES  input1-filespec [input2-filespec]

Qualifiers

  • /CHANGE_BAR - marks differences using the specified character: e.g. /CHANGE_BAR=#
  • /COMMENT_DELIMITER - ignores characters on a line to the right of (and including) a specified comment character:
    • COLON
    • COMMA
    • EXCLAMATION
    • FORM_FEED
    • LEFT bracket
    • RIGHT bracket
    • SEMI_COLON
    • SLASH
    • SPACE
  • /EXACT: use with the /PAGE=SAVE and /SEARCH qualifiers to specify a search string that must match the search string exactly and must be enclosed with quotation marks
  • /HIGHLIGHT: use with the /PAGE=SAVE and /SEARCH qualifiers to specify the type of highlighting you want when a search string is found (BOLD, BLINK, REVERSE, and UNDERLINE)
  • /IGNORE
  • /MATCH
  • /MAXIMUM_DIFFERENCES
  • /MERGED
  • /MODENUMBER
  • /OUTPUT
  • /PAGE
  • /PARALLEL
  • /SEARCH
  • /SEPARATED
  • /SLP
  • /WIDTH
  • /WINDOW
  • /WRAP