ctmvar error - Request Aborted - invalid protocol used

Everything about Control-M agents installation or setup.
Post Reply
pault

ctmvar error - Request Aborted - invalid protocol used

Post by pault » 11 Feb 2013 3:31

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.

pault

Post by pault » 11 Feb 2013 9:09

fyi - This server is running windows server 2003 R2 standard x64 edition service pack 2.

User avatar
jstarkw
Nouveau
Nouveau
Posts: 58
Joined: 14 Jan 2010 12:00

Post by jstarkw » 13 Feb 2013 4:12

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.

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 14 Feb 2013 4:57

Hi

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

Post Reply