Page 1 of 1

DSX - XML: CHANGE WIDTH OF FIELD IN MANY JOBS

Posted: Thu Jul 02, 2015 8:19 am
by sangi1981
Hi all,
we have a project with some thousands of jobs, parallel, server.
We need to change the width of a column from Decimal(2) to Decimal(5) in all jobs.

It is unthinkable to make it through an implementation task.
So, is it possible to apply the change directly to DSX or XML file, containing the entire project?

This is not standard activity, but is there some documentation or some workaround to find all occurences to substitute?

Thanks in advance
Sandro

Posted: Thu Jul 02, 2015 3:55 pm
by ray.wurlod
Good governance requires that it be done through some kind of approved implementation task, even if that task ends up being a global search and replace in a DSX file or XML export file. Be very careful that you only change the required attributes.

Posted: Fri Jul 03, 2015 8:21 am
by sangi1981
Thanks for replay.
I agree with you about good governance.
At this time, I'm doing feasibility study, analyzing the different alternatives.


I have a standard account, so I'm not able to see your post after:
"Be very caref" .....

Thank you

Posted: Fri Jul 03, 2015 6:36 pm
by rkashyap
Do see steps listed in this post.

Posted: Mon Jul 06, 2015 8:12 am
by sangi1981
Thank you for your replay and link.


I'm also searching for more information about what string or pattern to search.

In my Jobs, I have a field called FIELD of type Decimal[2].

So I found many different case, but not exhaustive:
  • 1.
    Name "FIELD "
    Description "FIELD : decimal[2,0]"
    SqlType "3"
    Precision "2"
  • 2.
    FIELD\\:decimal\\[2\\,0\\]\\;
  • 3.
    etc,...
  • 4.
    other not known cases

Is there some general rule or is there some documentation,
or Do I Have to use an heuristic method to discover all patterns?

Thank you
Sandro

Posted: Mon Jul 06, 2015 8:31 am
by rkashyap
Searching for lineage may be more useful than searching for name patterns. Do you have Metadata Workbench?

Posted: Tue Jul 07, 2015 7:47 am
by sangi1981
What do you mean about "searching for lineage".
Workbench?

Can I identify all occurences similarly to that shown in my previous post, so that I can apply them to a search&replace procedure?


Thanks