Progress
Startup Command and Parameter
Reference
Calling Parameter Files
To call an additional parameter file, use the Parameter File (-pf) startup parameter in the Progress startup command line or in a CONNECT statement.
Calling a Parameter File In a Startup Command
From a startup command line, use the Parameter File (-pf) startup parameter to call the parameter file. Enter one of the following commands:
Operating System Syntax UNIX Windows1
The filename can be any valid filename. Progress combines all parameters on a command line with those in the parameter file. If the same parameter is mentioned more than once, the last occurrence takes precedence. For more information on startup parameters, see "Startup Parameter Usage Categories"and Startup Parameter Descriptions."
Calling a Parameter File In a CONNECT Statement
Use the following syntax to specify a parameter file in a CONNECT statement in a Progress 4GL procedure:
For example, this procedure connects using a parameter file called
new_york.pf:
Calling Multiple Parameter Files
You can use the -pf parameter as many times as you like on a command line. This lets you specify application-specific parameters in one parameter file, database-specific parameters in a second parameter file, and user-specific parameters in yet another parameter file. It also allows you to connect to multiple databases from the same command line or CONNECT statement.
When connecting to more than one database, the startup parameters must appear after the corresponding Physical Database Name (-db) parameter and database name. If connecting to more than one database, consider putting all the database-related parameters in a parameter file, then add the -db parameter to the top of the file. To support earlier releases, Progress assigns any startup parameters that precede all database names to the first database on the command line.
Progress processes parameters from left to right. Each -pf parameter encountered is processed first before the next top-level parameter is evaluated. If a parameter file specified by -pf contains another -pf parameter, the nested parameter file is evaluated before resuming the top-level processing.
NOTE: If the same parameter is mentioned more than once, the last occurrence takes precedence.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |