OpenEdge provides two ways to generate a parameter file from the current configuration at runtime.

Generate a parameter file with PROMON

If you have only local access to the database or if you are unfamiliar with SQL or ABL code, use the PROMON utility, as follows:

Select PROMON utility > PROMON R&D Advanced Options > 4 (R&D Administrative Functions) > 17 (Generate parameter file).

Note: The generated parameter file overwrites comments and history in your existing .pf file.

Use this method to record parameters for primary and secondary broker startup. For details, see Generate parameter file.

Generate a parameter file with a Virtual System Table (VST)

If you have both local and remote access, use a VST, as follows:
Find _dbparams where _dbparams-name = “-pf”. 
Update _dbparams-value.

Use this method only to record database-wide parameters.

For more information, see Format of the generated parameter file.