It is currently 14 Dec 2017 5:11


Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 17 Jun 2010 9:59 
Offline
Nouveau
Nouveau
User avatar

Joined: 17 Jun 2010 12:00
Posts: 3
I am calling the vb script from the control-m job. Inside the vb script there are couple of copy and delete file operations. The copy file from local folder to other server using (\\nts0014\...).

I tried with option to map the drive and copy. It didn't work and hanging at the command.

Please help me out. Immediate help will be appreciated.


Top
   
 Post subject:
PostPosted: 17 Jun 2010 5:54 
Is control-m agent running as "LOCAL SYSTEM"? If you are copying file to another server the Agent account must have permissions to write in the remote server. Have you checked that? Can you log on with Control-m user account and run the job manually? Does it work that way?

regards
martin


Top
   
 Post subject:
PostPosted: 19 Jun 2010 9:06 
Offline
Nouveau
Nouveau
User avatar

Joined: 17 Jun 2010 12:00
Posts: 3
The control-m agent is running as local system and registed with the user 'GA_ProdJobtest'. I have setup the owner in the job also same.

I have login as user id 'GA_ProdJobtest' and executed the script directly and complete successfully.

Please help me out.


Top
   
 Post subject:
PostPosted: 19 Jun 2010 9:14 
Offline
Nouveau
Nouveau
User avatar

Joined: 17 Jun 2010 12:00
Posts: 3
Quote:
Can you log on with Control-m user account and run the job manually? Does it work that way?


Here control-m user account you mean the account which i have used for the job setup or else.


Top
   
 Post subject:
PostPosted: 19 Jun 2010 3:39 
Can you change Control-M agent services account from "LOCAL SYSTEM" to "GA_ProdJobtest" and execute the job again?
Agent works different on windows and unix. Jobs on windows runs as "LOCAL SYSTEM" unless you set up "Logon as user":

Flag that specifies which user account is used for the services to log
on to.
Selected – Jobs are submitted with the permissions and
environment variables of the specified user.
Not selected – Jobs are submitted with the permissions and
environment variables of the local system account. Default.

regards.


Top
   
 Post subject:
PostPosted: 24 Jun 2010 9:50 
Offline
Nouveau
Nouveau
User avatar

Joined: 29 Nov 2006 12:00
Posts: 37
Location: Ile de France
Hello jayaprakash,

Define a Control-M/job with a ".bat" file in "File Name" field.
In the ".bat" file call the vb script.

Regards
Michel


Top
   
 Post subject:
PostPosted: 05 Jan 2013 3:43 
Offline
Nouveau
Nouveau
User avatar

Joined: 06 Dec 2012 12:00
Posts: 3
matom wrote:
Hello jayaprakash,

Define a Control-M/job with a ".bat" file in "File Name" field.
In the ".bat" file call the vb script.

Regards
Michel


with vb script?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
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