I have faced this problem few times. So what I'm intrigued that why does DB2 behave differently while executing same commands from Squirrel and CLI. I'm working with Windows 10 and DB2 LUW version 9.7
This particular problem I'm facing is with with timestamp format:
This insert works when I run it from Squirrel but not from CLI:
INSERT INTO TABLE_A(CREATION_TIME) VALUES ({ts '2018-04-16 17:03:22.066000'})
I have generated the insert statement from Squirrel using "Copy as SQL INSERT-VALUES statement". The coltype is TIMESTAMP.
In general, there are other differences as well. For example statement REORG TABLE TABLE_A works only from CLI but not from Squirrel.
Could someone enlighten me where this different behavior derives from and is there some documentation which would help me to understand the phenomenom?