This action might not be possible to undo. Are you sure you want to continue?
DataStage tip for beginners: developer …
Featured Webcast: Windows 7 Deployment - "An Insider's Guide" Register Today
White Paper Library
Q&A and Docs Directory Events
Search Toolbox.com Subscriptions
Toolbox for IT Topics
Business Intelligence Blogs
Tooling Around in the IBM InfoSphere
by Vincent McBurney IBM Information Champion
Receive the latest blog posts in your inbox
Your E-mail address
The blog dedicated to a tool based approach to data integration with news and tips on IBM InfoSphere, Informatica, Oracle, ... more
Blog Main | Archive Previous | Next
FOLLOW THIS BLOG
DataStage tip for beginners: developer short cuts
Vincent McBurney | Feb 21, 2006 | Comments (21)
People who have been using a tool for a long time learn some shortcuts. I've done a brain dump of any DataStage short cuts I can remember. Feel free to add comments with your own shortcuts.
* When you do an export cut and paste the export file name. When you go to your project and run an import paste the file name instead of having to browse for it. While export and import independently remember the last file name used they do not share that name between each other. * When you switch export type between category and individual job it is quick to switch the type, close the export form and open it again. That way the job name or category you have highlighted will be automatically picked. There is an Export option to export by individual job name or export by category name. This is on the second tab in the export form. Often when you go to export something it is on the wrong option, eg. you want a job but it is showing the category. You switch from category export to individual job export but back on tab 1 your job is still not highlighted. * When you do an export there is a "View" button, click this to open the export file and run any type of search and replace on job parameter values when moving between dev and test. * If you want to export several jobs that are not in the same category use the append option. Highlight and export the first job. Close the export window, find and highlight the second job, in the export form click the "Append" option to add to the file. Continue until all jobs have been selected and exported. * On the Options tab is a check box to include in the export "Referenced shared containers" to also export those.
Things you could easily miss
Share Your Perspective
Share your professional knowledge and experience with peers. Start a blog on Toolbox for IT today! BEGIN NOW
Work With Me Want to work for the IBM Information Management Australian partner of the year 2010? I am building a team of great Information Server and DataStage consultants in Melbourne, Sydney, Canberra, Adelaide and Perth. Send an email to vmcburney at focuss.com.au.
You could use DataStage for months and not see some of these time savers, done this myself. * There is an automap button in a lot of stages, especially the transformers, maps fields with the same names. * When you add a shared container into your job you need to map the columns of the container to your job link. What you might miss is the extra option you get on the Columns tab "Load" button. In addition to the normal column load you get "Load from Container" which is a quick way to load the container metadata into your job. * Don't create a job from an empty canvas. Always copy and use an existing job. Don't create shared containers from a blank canvas, always build and test a full job and then turn part of it into a container. * If you want to copy and paste settings between jobs, for example database login values or transformer functions, open each job in a seperate Designer session. Most property windows in DataStage are modal and you can only have one property window open per Designer session, by opening two Designers you can have two property windows open at the same time and copy or compare them more easily. * You can load metadata into a stage by using the "Load" button on the column tab or by dragging and dropping a table definition from the Designer repository window onto a link in your job. For sequential file stages the drag and drop is faster as it loads both the column names and the format values in one go. If you used the load button you would need toto Toolbox? names and then format details seperately. New load the column Ask A Question theJoin
Steal This IM Methodology Informatica Data Quality Blog DataFlux Community of Experts Group 1 Data Quality Blog IBM LeverageInformation Community Blog Data Governance Blog dq:view - Steve Tuck on Data Quality
Categories Blogging GO
then the third last etc until you have replaced all job names back to the second job activity stage. #filedir#/#filename#_#DSJobName#.1 and earlier you could copy and paste a job activity stage. I used to use Informatica. Sequence Jobs My most annoying Sequence job "feature" is the constant need to enter job parameters over and over and over again. Consider have a couple test jobs in your dev project with a row generator. Getting into it. Thanks Again.5. Thanks for taking the time to put this together. If you have 10-20 parameters per job (as I normally do) it becomes very repetitive and is open to manual coding errors.1/25/2011 DataStage tip for beginners: developer … * Can't get a Modify function or Transformer function working correctly? Trial and error is often the only way to work out the syntax of a function. you need it to retrieve the stage names. gotchas. * Copy the name of the last job activity stage name and search for it in the export file.com/oracle/guide/ Vincent McBurney | Mar 24.com/…/datastage-tip-for-begi… 2/6 . * Close the sequence job and export the job and click the View button. As All these help will save Time. Himanshu Mar 6. 2006 I have bookmarked this page. change the job name and retain most of the parameter settings. 2006 Hi Vincent. #filedir#/#filename# but you may not know that you can put macros into property text boxes. This should give you the same set of job activity stages but with each one pointing at a different job and with the full set of job parameters set. a modify or transformer stage and a peek stage. If you do this in a large and complex job it can be time consuming to debug due to job startup times. A faster way is to do the job renaming in an export file. short cuts (like this one). Related White Papers Cloud Success in Seven Steps with External Monitoring Then what happens? Six Data Protection Tips for SMBs 21 Comments Feb 21. I've been reading through the Datastage documentation and finally figured out why your blog has the name it does. Debugging * In parallel jobs I use the copy stage a lot to debug errors that do not indicate which stage caused the error. * In an empty sequence job add your first job activity stage and set all parameter values or copy one in from an existing job.. You need to set the parameters for every flippin job activity stage. even though they are likely to have the same or similar parameter lists and settings. it's a DataStage macro. most text editors should have this option. In this example the first two are job parameters and the third value is not. * Open the sequence job.x when you change the job name all the parameter settings get wiped.ittoolbox. I progressively remove stages until I locate the one with the error. Thanks. 2006 Bunch of Thanks for Valuable info . Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. If I could make a request: do some more datastage newbie posts. I am still learning DS extended.. 2006 …toolbox. When the cursor is on that part of the export file search and replace the old job name with the new job name.. replacing them with a copy stage. Under 7. it is appreciated. Charlie Mar 24. . eg. so understanding these shortcuts will help my learning curve and development time. Have a column of each type in this test job.-) I couldn't figure out what websphere had to do with datastage before that. etc. * You can put job parameters into stage properties text boxes. Make sure you only replace to the bottom of the file. I create a copy of the job and start removing output stages. * Repeat this for the second last job activity. Use this throughout your project as a quick way to test a function or conversion. This will rename the job of the last activity stage. * Copy and paste as many copies of this job activity as you need for your sequence. LewisC http://blogs. Under version 7. * Import the job into your project.
so I plan= on doing some DataStage tip blogs that have been banging around= in my head=2E Jan 18. …toolbox. and the second to execute UtilityGetRunJobInfo. 2007 Hi I need DATASTAGE PDF file .gathered lot of valuable informations.LinkName" as Arg3 Thanx Jan 20. you can first select the job in the director and then open the designer from the "Tool" option in director. which definitely help in the debug process. Rajeswari.Right now iam learning the datastage please anyone having any pdf files please forward my mail id. but the director gives me the warning: Unable to locate StageName. If you have director open and want to open designer and then open a job.Venkat Jun 29.Link name (for link-related actions). 2007 very helpful for beginners. and extracts information based on that output. tables and formatting.LinkName in JobOutput: Could anyone help? Btw. you can first select the job in the director and then open the designer from the "Tool" option in director. 2008 Do you guys know how to rename tables in datastage for db2? vanayo | Jan 16. the first to execute the job.Output from UtilityRunJob Arg2 . I have some tips i have discovered as well. to execute UtilityRunJob. mahadev vasireddy | Aug 2. Designer opens with the job selected in director. 2007 If you have director open and want to open designer and then open a job. 2007 For debugging. I have a job sequence in which IÂ´ve put 2 Rooutine activity. 2008 Hi very happy to join the community Feb 1... Jan 15. 2007 Another shortcut.. otherwise '' The problem is that I have no idea what should Output from UtilityRunJob refer to. if its a parallel job.1/25/2011 DataStage tip for beginners: developer … I think I need to explain my blog title in my blog description! = Now that I am using qumana to create blog entries it is a LOT= easier to incorporate images. 2007 i want to know about routines and how to use it in a job mahadev vasireddy | Aug 2. i use a new job parameter $APT_DUMP_SCORE and it gives me step by step execution process of the parallel job and 95% of time i can see the error causing the job abort May 29. there is a trace tab and you can trace in different levels) This usually spits out in-detail error messages in director log..g. May 28. Designer opens with the job selected in director. e. connected one with another. Also. Parameters are: Arg1 . For server jobs. you can run a trace (on the run dialog box. IÂ´ve used "LinkCount" as Arg2 and "StageName. 2008 Anyone knows what should be entered as the first parameter of the routine UtilityGetRunJobInfo? The description of the routine is the following: The routine takes the output from UtilityRunJob. Vasantha.Action required (see list below) Arg3 .com/…/datastage-tip-for-begi… 3/6 . 2008 hi all. Thanks.
.g.can somebody help me out with pdf files for notes & refernces. documentations. 2009 I LOVE JOB TEMPLATES : Fill it with all parameter and parameter sets that will be used. logging in. the "Usuage analysis" item from the contextual menu doesn't seem to be widely known. Also.com/…/datastage-tip-for-begi… 4/6 . Jul 8. vasanth Mar 4. Develop the job and delete any parameters that will definitely not be used in the job... 2010 Hi...... And what are the other supporting tools which would help them in realtime.. i am training datastage . So that it will be helpfull in preparing for interviews to me. This have many useful templates for practisting USER_2043147 | Jun 4.. venkatsandu123 rao | Jul 13. E.. 2008 Vasanth. much quicker than launching Director. or e. Specially "Derivation substitution" and "Find/Replace". in the Manager. Discover how Windows 7 reduces power consumption and makes power management easier. i have just for the version 6.. 2010 hi.0 the student guide.. Leave a Comment …toolbox. can save a lots of typing when you realize you have to add a Trim on those 130 input fields :) .. I am taking DS training.1/25/2011 DataStage tip for beginners: developer … iam taking datastage training. thanks. Can you please send me some important & real time scenarios or kind of projects you people are working on. 2010 Hi. Create any job using a copy or save as of the template job .. 2009 Power Management in Windows 7 Overview Microsoft Windows Family of Operating Systems Microsoft Corporation Published: May 2009 Abstract This white paper provides an overview of the power management features in Windows 7. and you will find yourself saving time to sneak out of the office for a quick lunch at a fancy restaurant .... when copy/pasting stages and you need to rename links in the derivation. Oct 6.g.and i need some enhancements from datastage please send my email Santhosh Sasanapuri | Dec 8... HOP TRIEUSUNG | Oct 7. I noticed some people were unaware of the "Debug>View job log" command from the Designer. 2008 A capital tip! Been unaware of it for months! => the contextual menu over the column names/derivation in the properties of a tranformer...tutorials... etc.i need help on pdf files links. this is very good to reduce the development time and reduce the time consumin. Otherwise. selecting the job...help plz..
com/…/datastage-tip-for-begi… 6/6 .1/25/2011 DataStage tip for beginners: developer … …toolbox.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.