IBM Support

PH57309: 'SEARCH IN FILES' DOESN'T EXCLUDE SOME FOLDERS SPECIFIED IN AD BATCH SERVER'S PROJECT.PROPERTIES FILE AND GIVES UNWANTED RESULTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • In AD Batch Server's project.properties file, the
    "project.<projectName>.index.exclude.folderPattern=" parameter
    filters by the parent folder of any file. For example,
    index.exclude.folderPattern=CPY excludes both ...\AAA\CPY and
    ...\BBB\CPY folders. If users want to exclude ...\AAA\CPY but
    not ...\BBB\CPY, then be aware that
    index.exclude.folderPattern=AAA or
    index.exclude.folderPattern=AAA\CPY will not work.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who specifies                                          *
    * "index.exclude.folderPattern=pattern(,pattern)..." section   *
    * in "IBM Application Discovery Batch                          *
    * Server\conf\project.properties" file.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * With the current functionality, in AD Batch Server's         *
    * project.properties file, the                                 *
    * "project.<projectName>.index.exclude.folderPattern="         *
    * parameter filters by the parent folder of any file. For      *
    * example, index.exclude.folderPattern=CPY excludes both       *
    * ...\AAA\CPY and ...\BBB\CPY folders.  If users wants to      *
    * exclude ...\AAA\CPY but not ...\BBB\CPY, then                *
    * index.exclude.folderPattern=AAA or                           *
    * index.exclude.folderPattern=AAA\CPY does not work.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to the latest AD version or the ifix number of the   *
    * supported versions.                                          *
    ****************************************************************
    The way to specify the folders to exclude in the
    'project.TEST.index.exclude.folderPattern=' section is changed
    so all entries for this section must be corrected and the
    indexes must be recreated.
    

Problem conclusion

  • 'Search in Files' was improved to be able to exclude folders
    with the same name from different paths.
    In "IBM Application Discovery Batch
    Server\conf\project.properties" file in
    "#index.exclude.folderPattern=pattern(,pattern)..." section the
    folders you want to skip could be configured like here:
    project.ProjectName.index.exclude.folderPattern=.+ParentFolder1\
    \\\CPY,.+ParentFolder2\\\\CPY,.+\\\\FolderName
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH57309

  • Reported component name

    APPL DISCOVERY

  • Reported component ID

    5737B1600

  • Reported release

    611

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-10-02

  • Closed date

    2023-10-03

  • Last modified date

    2023-10-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • Batch
    

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"611","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
04 October 2023