Hello All,
I have a seq job that contains several hundred stages. I want to search the canvas(not the repository or dsx) for object names containing that string(or partial string). Resulting in a visual location on the canvas showing where those objects are.
Anyone know if this can be done?
Thanks
Search for string on designer canvas
Moderators: chulett, rschirm, roy
Search for string on designer canvas
We don't see things as they are;
We see them as we are.
We see them as we are.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Meanwhile you can query the DS_JOBOBJECTS records for that particular job number.
This query can be run from a dssh shell or, if you have DataStage Administrator role, from the Command window of the Administrator client.
Code: Select all
SELECT * FROM DS_JOBOBJECTS
WHERE JOBIDNO = (SELECT JOBNO FROM DS_JOBS
WHERE NAME = '<<Job name>>')
AND EVAL "@RECORD" LIKE '%<<string>>%';
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Till a more elegant solution is available ... a query to determine stage location on DS Designer Canvas is:
Stage attributes information for multiple stages is stored in pipe-delimited format in same field .... Stage-names can be parsed from LAZYLOADINFO_XMETA and corresponding locations from STAGEXPOS_XMETA and STAGEXPOS_XMETA.
Top-leftmost position on canvas is 0,0 (STAGEXPOS and STAGEYPOS). Each grid-block has size of 24 units.
i.e A stage with STAGEXPOS = 240, STAGEYPOS = 360 is 10 grid-blocks from leftmost-position and 15 grid-blocks from top.
Code: Select all
Select J.DSNAMESPACE_XMETA Server_DSProject,
J.CATEGORY_XMETA Category,
J.NAME_XMETA JobName,
D.STAGELIST_XMETA,
D.STAGEXPOS_XMETA,
D.STAGEYPOS_XMETA,
D.STAGEXSIZE_XMETA,
D.STAGEYSIZE_XMETA
D.LAZYLOADINFO_XMETA
From XMETA.DATASTAGEX_DSJOBDEFC2E76D84 J,
XMETA.DATASTAGEXDSDESIGNVIEWC2E76D84 D
Where J.XMETA_REPOS_OBJECT_ID_XMETA = D.XMETA_LOCKINGROOT_XMETA
And J.NAME_XMETA = <JobName>;
Top-leftmost position on canvas is 0,0 (STAGEXPOS and STAGEYPOS). Each grid-block has size of 24 units.
i.e A stage with STAGEXPOS = 240, STAGEYPOS = 360 is 10 grid-blocks from leftmost-position and 15 grid-blocks from top.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There isn't one. That's not what IBM Insight conference is about. Use the standard enhancement request mechanism.rkashyap wrote:At IBM Insight, what is the correct forum for giving such suggestions?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
That's right. IBM will ask you to submit a Request For Enhancement (RFE) on the RFE web site. Link not handy at the moment, but you can search for it!
Here is an indirect link to the RFE site:
http://www-01.ibm.com/support/docview.w ... wg21662699
Here is an indirect link to the RFE site:
http://www-01.ibm.com/support/docview.w ... wg21662699
Choose a job you love, and you will never have to work a day in your life. - Confucius