It is currently 25 Nov 2017 10:37


Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 11 Feb 2013 3:31 
Offline
Nouveau
Nouveau
User avatar

Joined: 20 Aug 2012 12:00
Posts: 2
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.


Top
   
 Post subject:
PostPosted: 11 Feb 2013 9:09 
Offline
Nouveau
Nouveau
User avatar

Joined: 20 Aug 2012 12:00
Posts: 2
fyi - This server is running windows server 2003 R2 standard x64 edition service pack 2.


Top
   
 Post subject:
PostPosted: 13 Feb 2013 4:12 
Offline
Nouveau
Nouveau
User avatar

Joined: 14 Jan 2010 12:00
Posts: 58
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.


Top
   
 Post subject:
PostPosted: 14 Feb 2013 4:57 
Offline
Nouveau
Nouveau
User avatar

Joined: 26 Apr 2005 12:00
Posts: 696
Location: PARIS
Hi

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved