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.


DIFFERENCES  input1-filespec [input2-filespec]


  • /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
    • LEFT bracket
    • RIGHT bracket
    • 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)
  • /MATCH
  • /PAGE
  • /SLP
  • /WIDTH
  • /WRAP