In fact, it happens when the length of my variable @file is more than 18 characters (for example : 'C:\log_00000015.txt').If it's less ('C:\log_0000001.txt'). , no problem. Strange...
Maybe i'm wrong but what happens if you modify your query (INSERT INTO TESTING.DB2DSNY.MSQL.TEST_TABLE Values ('ABCDEFGH')) and use the instruction OPENQUERY... ?