in the setting : I specified select existing interpreter
installed ibm_db from regular command window
now all is ok - i can use sql from both command window and pycharm
many thanks for all help, Guy