The issue is now resolved, the problem was with the default MS SQL port 1433(the port was already configured in all the env's, however this was causing the connectivity issues to the database), we removed the port number from the JDBC connection parameter and successfully tested the flow.
The connection was later provided as:-
jdbc:sqlserver://XXXXXXXX\XXXQXXXXWMS;databasename=XXXX_QAS
Regards,
Manjunath