Hi Vishal,
Please check the RFC that you are configured of DQM is registered in SAP System "VOSISAPCH2.OptimalSol,com" or not.
Please use below Command in SAP System to register the RFC first:(I m also facing the same issue, but after registered in SAP system it got resolved but in my case SAP is in LINUX Environment, So please change the code if your SAP is in Windows or consult SAP BASIS Team regarding that issue)
rfcexec -t -a FLRFCBTC -g localhost -x sapgw00 &
rfcexec -t -a FLRFCSRV -g localhost -x sapgw00 &
Then run TRANS and BATCH Script of DQM.
Thanks,
Daya Shankar Jha