When encrypting passwords in the global parameter file xcom.glb using the XCOMENCR utility, errors were displayed:
xcomencr xcom.glb xcom_encr.glb
" was runERROR: XCOMHIST_PASSWORD field is a global parm that cannot be overridden
"# the following line may contain a syntax error
" for each option in the file.XCOMENCR is a utility that will encrypt parameter values in a existing .cnf file and is not designed to encrypt global parameters in the xcom.glb file.
1. The standard way to encrypt the value of parameter XCOMHIST_PASSWORD= in the xcom.glb file, is to use the XCOM GUI.
2. An alternative workaround is as follows.
XCOMHIST_PASSWORD=abcdef
, then the test.cnf should be:#!ENCRYPT
PASSWORD=abcdef
xcomencr test.cnf test2.cnf
" the output file test2.cnf will contain:#!ENCRYPT
PASSWORD.ENCRYPTED=26 75 63 2f 8a d9 cc 87 7e d2 75 36 2b 98 85 55 3a 88 7a 41 2d 7a 86 51 4c 89 76 46 38 7c 68 52 48 9b 77 00
XCOMHIST_PASSWORD.ENCRYPTED=26 75 63 2f 8a d9 cc 87 7e d2 75 36 2b 98 85 55 3a 88 7a 41 2d 7a 86 51 4c 89 76 46 38 7c 68 52 48 9b 77 00