Open the
DLC\properties\conmgr.properties file in a text editor and remove duplicate the Header lines and Trailer Blocks with # (comments).
The Header :
# Connection Manager Properties File
The Trailer Block:
# prosqltrc=nnnnnnnnnnn # turn on various levels of SQL tracing
# reportinginterval=1 # -rpint (4gl only)
# serverexe=<4gl server location> # _mprosrv (4gl only)
# type=both # n/a
# host=localhost # -H
# initialservers=0 # n/a
# maxclientsperserver=0 # -Ma (calculated value)
# maxdynamicport=5000 # -maxport (5000 for NT; 2000 for UNIX)
# messagebuffersize=350 # -Mm (4gl only)
# minclientsperserver=1 # -Mi
# mindynamicport=3000 # -minport (3000 for NT; 1025 for UNIX)
# networkclientsupport=true # false for self-service
# numberofservers=0 # -Mpb
# port=0 # -S ; Must be non-zero
# when networkclientsupport=true
Alternatively, the conmgr.properties file can be parsed to remove the lines containing a # character. For example on Windows,
FINDSTR /v # can be used.
COPY %DLC%\properties\conmgr.properties %DLC%\properties\backup_%date:~10,4%%date:~7,2%%date:~4,2%_%time:~0,2%%time:~3,2%_conmgr.properties
MOVE %DLC%\properties\conmgr.properties %DLC%\properties\temp_conmgr.properties
TYPE %DLC%\properties\temp_conmgr.properties | FINDSTR /v '#' > %DLC%\properties\conmgr.properties
DEL %DLC%\properties\temp_conmgr.properties >nul 2>&1