Progress® OpenEdge® Compilation Tools

PCTConnection type

Description

Adds a database connection

Parameters

Attribute Description Type Requirement Default value
dbName Database physical name String At least one of these is required. No default value
paramFile Parameter file (-pf parameter). If paramFile is set and dbName is unset, paramFile is always in first position. If both paramFile and dbName are set, dbName is in first position and paramFile in second position. Don't define multiple database connections in a single paramFile, this can lead to unexpected behavior. File No default value
dbDir Directory where database is physically located (relative to baseDir) File Optional No default value
dbPort TCP port to connect to (-S parameter) String Optional No default value
Protocol Protocol to use (-N parameter) String No No default value
LogicalName Logical name for the database (-ld parameter) String No No default value
CacheFile Name of the binary cache file (-cache parameter) File No No default value
DataService Dataservice (-DataService parameter) String No No default value
DbType Database type (Oracle, SQL Server, ...) (-dt parameter) String No No default value
HostName Host name where the database resides (-H parameter) String No No default value
UserName Login (-U parameter) String No No default value
Password Password (-P parameter) String No No default value
ReadOnly Open the database in read-only mode (-RO parameter) Boolean No No
SingleUser Open the database in single-user mode (-1 parameter) Boolean No No

Parameters as nested elements

PCTAlias (com.phenix.pct.PCTAlias)

Adds an alias to a connection

Examples

<PCTRun ...>
  <PCTConnection dbName="foo" logicalName="bar" paramFile="conf/param.pf"/>
</PCTRun>

On the command line will be appended the following parameters : -db foo -pf conf/param.pf -ld bar