It is currently 24 May 2019 8:58

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 27 Feb 2019 1:47 

Joined: 19 Dec 2018 9:59
Posts: 4

I managed to use some variable from smart folder to be user as a parameter for my scripts
but, i also wanted to use variable to username (Run As) and server (host)

When i'm creating a job,
- i can put a variable as a user, but doesn't seems to be evaluated when the job is submit, because controlM want to launche the job with user %%user :/
- can't put a variable in host/host group

Anyway to do theses things ?
(i managed to put a variable in file path, works fine)

The main result is:
i want a smart folder, manually ordered, with 3 parameters (user, server and a parameter) so the folder can be launch to be run on 3 different servers (having the same path/scripts/userlike)

Thanks for your help

PostPosted: 02 Mar 2019 9:52 
User avatar

Joined: 26 Apr 2005 12:00
Posts: 732
Location: PARIS

Owner and host fields don't accept variables.
But, if you create job dynamically using ctmcreate for instance, you can fill it with information you want.

Have a look to ctmdefine, ctmcreate and ctmorder.

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

All times are UTC+02: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 All Rights Reserved