Job Host and user as a variable ?

All questions about Control-M jobs definitions
Post Reply
Chico008
Nouveau
Nouveau
Posts: 4
Joined: 19 Dec 2018 9:59

Job Host and user as a variable ?

Post by Chico008 » 27 Feb 2019 1:47

Hi

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

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

Re: Job Host and user as a variable ?

Post by fyot » 02 Mar 2019 9:52

Hi

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.

ditker.d
Nouveau
Nouveau
Posts: 1
Joined: 19 Jun 2020 8:06

Re: Job Host and user as a variable ?

Post by ditker.d » 19 Jun 2020 8:09

Mobile casino gambling is incredibly popular among the gamblers nowadays. It helps you to play in the most convenient way with your mobile set. Play pay by mobile bill casino.

Post Reply