ClipperSearch.bj

Action

Execute a Code Search search. The results are displayed in the specified Code Search list.

Syntax

ClipperSearch LogFile Workspace Criterion Model ListName Category [Project] [Accumulate]
Required Parameters Description

LogFile

Output log file generated when the batch script is executed.

Workspace

Workspace file (.rwp).

Criterion Full path name of the search criterion in the Interactive Analysis Advanced Search tool, including the tab name (General) and any folder names. For example, General:Coding Standards\MOVE Statements\Possible Data Padding. Follow the notation specified exactly.

Model

Interactive Analysis model for the listed source files. Some of the commonly used model types are: COBOL, JAVAFILE, JCL, NATURAL, PLI. For more information, see Define Potential Code Anomalies.

ListName

Name of the list. The list is assumed to be owned by the current user. If it is owned by another user, append a vertical bar (|) and the user name.
Note: Lists stay active in the workspace. As part of the verification process for an entity, any entry in a list for that entity is removed. The list will need to be recreated post verification. Any script that is used to create the list can be added to a post-verification user exit to the BRP process so they are correctly re-created as part of a BRP run.
Category Category of the list.
Optional Parameters Description
Project Project to execute search for.
Accumulate Whether to append the results to existing results, True or False. Default is False.