Related.bj

Action

Create a project control file (PCF) based on the relationships between source files. The source file on the left side of the relationship is called the startup object. The source file on the right side of the relationship is called the target object.

A project control file identifies the projects to which source files belong. Use ApplyPCF.bj or SetProject .bjto assign source files to projects based on a project control file.

Syntax

Related LogFile Workspace Out [List] [Project] [Startup] [Target] [Include] 
Required Parameters Description

LogFile

Output log file generated when the batch script is executed.

Workspace

Workspace file (.rwp).

Out

Project control file (.pcf).

Optional Parameters Description
List A control file with a list of startup objects. Each line of the control file contains the following information:
"EntityType" "EntityName"

where:

  • EntityType is the entity type of the startup object, COBOL, for example.
  • EntityName is the name of the startup object, DayOfWeek.cbl, for example.
Project When List is not specified, the project containing the startup objects.
Startup When List is not specified, the entity type of the startup objects. Enclose multiple entity types in parentheses in a vertical-line-separated list, for example:
(COBOL|COPYBOOK|BMS)
Use the flag attribute of an entity type to specify all entity types with that flag, for example:
*LEGACY
which specifies all entity types with the LEGACY flag, the default. For more on entity flags, see Software Development Toolkit, available from support services.
Note: Additional operators are available for special needs. Contact support services for details.
Target The entity type of the target objects. The notation is as for Startup. Default is (BMS|PSB|DBD|CSD).
Include

Whether to include source files related to other source files in relationships flagged R_USE, such as Cobol Includes Copybook File. Default is Yes. Specify NONE for No.

Restrict the result to source files of given types by specifying the types, for example:

Include=(COBOL|JCL)

The notation is as for Startup. For more on relationship flags, see Software Development Toolkit, available from support services.