After running pdm_options_mgr command to add a new variable to NX.env or/and NX.env_tpl files, a last line of the NX.env and/or NX.env_tpl file is replaced with a new variable added by the command.
The problem occurs if the last line of the NX.env or NX.env_tpl files is added manually without a carriage return code at the end of the line.
In order to update NX.env or NX.env_tpl files, we highly recommend to use pdm_options_mgr command, and not modify them manually. If you need to update those files manually for some reason, please ensure you add a carriage return code at the end of the line by hitting <Enter> key.
TEC612988: Using the 'pdm_options_mgr' command to change content within the CA Service Desk Manager (CA SDM) NX.ENV file