$ dmcli -printenv
Default argument values set from your environment:
user:
pass:
host:
dbname:
dbnode:
What environment variables map to these values?
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
$ dmcli -printenv
Default argument values set from your environment:
user:
pass:
host:
dbname:
dbnode:
What environment variables map to these values?
$ export DMDB=myDBname@mydsn
$ dmcli -printenv
Default argument values set from your environment:
user:
pass:
host:
dbname: myDBname
dbnode: mydsn
Discovered a couple of them. But for the others, obvious things like DMSERVER or DMHOST or DMUSER don't work.
It should be using the USER and HOST variables. On my server I see these are set by default:
$ echo $HOST
testvm
$ echo $USER
dmsys
$ echo $DMDB
cm_typical@dim14
$ dmcli -printenv
Default argument values set from your environment:
user: dmsys
pass:
host: TESTVM
dbname: CM_TYPICAL
dbnode: DIM14
ok. USER and HOST are in the environment, but dmcli doesn't use them. weird. thanks.