Page 1 of 1

ctmvar error - Request Aborted - invalid protocol used

Posted: 11 Feb 2013 3:31
by pault
Anyone have any ideas on this error I'm getting following
a new install of 7 on a windows box (using a very old OS)?
(I am using doubling the %, you just don't see that happening
in the sysout below.)

Environment - Control M Agent running on a Windows Server 2003.
CM Version 7.

Sysout:

ctmvar -ACTION SET -VAR "%%\SONYELC_D_PROGUPLD\SONYELCPROGDROPPATH" -varexpr "\\hhdhpfpapp04\HPF_Client_Files\ETAutomation\SonyElect\
ronics\Programs\ProspectsDynam_20130207180005.txt"
Output:
Request Aborted - invalid protocol used.
Result: Failure.

Posted: 11 Feb 2013 9:09
by pault
fyi - This server is running windows server 2003 R2 standard x64 edition service pack 2.

Posted: 13 Feb 2013 4:12
by jstarkw
Protocol error is caused by agent/server configuration. Have admin check it. Syntax for ctmvar on a windows server would be:

ctmvar -ACTION SET -VAR "%%#%%#\SONYELC_D_PROGUPLD\SONYELCPROGDROPPATH" -varexpr "\\hhdhpfpapp04\HPF_Client_Files\ETAutomation\SonyElectronics\Programs\ProspectsDynam_20130207180005.txt"


Can someone explain why the % signs have to be doubled and what the # symbols do when on a windows agent server? These are not requred on a unix agent server.

Posted: 14 Feb 2013 4:57
by fyot
Hi

% must be double because you execute your command under windows.
So, % character is used under DOS, to set variable, as %VARIABLE%.