BC4 Script does not use unimportant filter set in session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krnll5
    New User
    • Dec 2017
    • 2

    BC4 Script does not use unimportant filter set in session

    load "Compare_QA_PD"
    criteria rules-based
    filter "*.out;"
    expand all
    select all.diff
    data-report layout:side-by-side options:display-mismatches,ignore-unimportant &
    output-to:"MyReport.html" output-options:html-color"

    Load the session - click on a text compare - uncheck the unimportant - drop-down use for parent within session - close it and save the session. When I compare from within BC the session works fine when I call it from a script I still get the differences that I'm trying to filter. Also my report says Table Compare? Can you see anything in the script I'm doing wrong?

    Example of header of the report
    Table Compare
    Produced: 12/8/2017 3:06:53 PM

    Mode: Differences, Ignoring Unimportant
    Left base folder: ftp://[email protected]/I...ta/ZCompare/QA
    Right base folder: ftp://[email protected]/I...ta/ZCompare/PD
  • Aaron
    Team Scooter
    • Oct 2007
    • 16002

    #2
    Hello,

    Yes, it looks like you are using the data-report command, which uses the Table Compare (not Text Compare). To use the Text Compare settings and report style, use the text-report script command.
    Aaron P Scooter Software

    Comment

    • krnll5
      New User
      • Dec 2017
      • 2

      #3
      That worked.

      Originally posted by krnll5
      load "Compare_QA_PD"
      criteria rules-based
      filter "*.out;"
      expand all
      select all.diff
      data-report layout:side-by-side options:display-mismatches,ignore-unimportant &
      output-to:"MyReport.html" output-options:html-color"

      Load the session - click on a text compare - uncheck the unimportant - drop-down use for parent within session - close it and save the session. When I compare from within BC the session works fine when I call it from a script I still get the differences that I'm trying to filter. Also my report says Table Compare? Can you see anything in the script I'm doing wrong?

      Example of header of the report
      Table Compare
      Produced: 12/8/2017 3:06:53 PM

      Mode: Differences, Ignoring Unimportant
      Left base folder: ftp://[email protected]/I...ta/ZCompare/QA
      Right base folder: ftp://[email protected]/I...ta/ZCompare/PD

      Could have sworn I tried that! TGIF. thanks a lot.

      Comment

      Working...