Here is CL code: DCL VAR(&PATH) TYPE(*CHAR) LEN(110) VALUE('C:\Documents and + Settings\My Documents\QRY result to EXCEL\QRY#2\FILE1.TTO') STRPCO PCTA(*NO) MONMSG MSGID(IWS4010) STRPCCMD PCCMD(&PATH) PAUSE(*NO) Program is running but no file on EXCEL side was updated.