Register.bj

Action

Register new source files, refresh updated source files. Use:

  • AddNew.bj to register new source files only.
  • UpdateOnly.bj to refresh updated source files only.
  • Refresh.bj to register and verify new and updated source files.
  • Verify.bj to verify registered source files.

Syntax

Register LogFile Workspace StageDir [Project] [Entity] [Drop]
Required Parameters Description

LogFile

Output log file generated when the batch script is executed.

Workspace

Workspace file (.rwp).

StageDir

Staging directory for incoming source files.

Optional Parameters Description

Entity

* or entity type of source files. Default is *.

Project

Project. Default is the default project.

Oracle Only Parameters Description

Drop

Whether to drop repository indexes. Specify:

  • Auto, to let the script determine whether to drop repository indexes based on the number of files to be processed.
  • Yes, to drop repository indexes.
  • No, to not drop repository indexes.

Dropping repository indexes generally improves performance when a large number of files need to be processed. Dropped indexes are restored when processing is complete. Default is No.