Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2017
    Posts
    2

    Default 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://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/QA
    Right base folder: ftp://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/PD

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,366

    Default

    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

  3. #3
    Join Date
    Dec 2017
    Posts
    2

    Default That worked.

    Quote Originally Posted by krnll5 View Post
    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://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/QA
    Right base folder: ftp://infodvadmin@mwa00.bausch.com/I...ta/ZCompare/PD

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •