cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone tried to change parameters for a lot of jobs?

Former Member
0 Kudos

I need to change several parameters for a lot of jobs

PRINT_BIG   ->   Y

PRINT_PRUNX   ->   N

Does CPS support this kind of massive update?

Accepted Solutions (0)

Answers (1)

Answers (1)

nanda_kumar21
Active Contributor
0 Kudos

the simplest way to do it is:

  1. Create an import ruleset to change these parameter rules.
  2. Export all the jobs that needs these parameters to be changed.
  3. Import the jobs applying the ruleset.
  4. All jobs should have the new parameter now.

A better way to do is to create a Redwood script, for which you can pass a file containing all the job definition name for which the parameters need to be changed, the advantage is, next time you want to do a mass change for another set of parameters, you can easily modify the script.

{

//get the file input

//read line by line

//getjobdefinitionbyname

//getparameterdefinitionbyname

//setdefaultexpression

}

thanks

Nanda

Former Member
0 Kudos

Thank you Kumar! I am going to ask our request management team to check if they can create the import ruleset..