Search found 6797 matches

by DSguru2B
Fri Aug 18, 2006 10:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: invalid identifier error
Replies: 5
Views: 1681

Re-import the table definition for that particular table. This happened to me a couple of times as my dba changed his db script for the x.next version of the database on friday and sent out the mail on monday.
by DSguru2B
Fri Aug 18, 2006 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting a Part from the given String
Replies: 24
Views: 18294

Darn, i thought id sly by without you noticing it. But you got me :o
The OP should really come back and let us know if it worked or not. I dont have access to DS at the moment and thus cannot test out my routine :(
by DSguru2B
Fri Aug 18, 2006 1:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to open "hash" file
Replies: 2
Views: 1724

Are you calling it by hashed file name or the VOC entry name. You need to put in the VOC entry name and not the hashed file name.
by DSguru2B
Fri Aug 18, 2006 11:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flat file with HF lookup
Replies: 2
Views: 647

Looking at the two datasets i presume that CC_ID is the key. Then your hashed file wont look like how you showed. Hashed file removes duplicates, retaining the last identical key. If you want the opposite, then make the contents of your hashed file as source, the other file as lookup. This way you w...
by DSguru2B
Fri Aug 18, 2006 10:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting a Part from the given String
Replies: 24
Views: 18294

Mine is 4 characters at a time :wink:
by DSguru2B
Fri Aug 18, 2006 10:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: abort Job & Archive
Replies: 6
Views: 1441

If you want to do it from designer, you can set it project wide by logging into the director, go to tools, options and set the warning limit to 1 over there.
For command line, pass warn 1 along with the dsjob -run command.
by DSguru2B
Fri Aug 18, 2006 10:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting a Part from the given String
Replies: 24
Views: 18294

Actually if you look at my routine, its fairly simple. Its not working because its not complete. You need an 'Ans' line. I left that upto you so that you can decide what delimiter should come between 'Part' and 'RestOfData'. Desc=TRIM(Arg1) RestOfData='' Part='' EndForLoop=LEN(Desc) ...
by DSguru2B
Thu Aug 17, 2006 11:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting a Part from the given String
Replies: 24
Views: 18294

I revisited my routine above and found some minor logical errors in it. I fixed it. You can use it now. Try to test it for different scenarios. I, currently do not have access to Datastage and hence cannot test it myself.
by DSguru2B
Thu Aug 17, 2006 10:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance Issue
Replies: 3
Views: 841

'Performance' is a relative word. Relative to your environment, record size, depth of transformations, network traffic, database utilization. For millions of records, a logged activity is not advisable. Use the load method. Its a good thing that your data is in a flat file. Invoke the Ora bulk loade...
by DSguru2B
Thu Aug 17, 2006 10:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading 2 sequential files into SQL Server using merge
Replies: 6
Views: 2933

If you just want to collect both the files then why not use a link collector. Merge stage is slower than the link collector. I usually tend to stay away from the merge stage.
by DSguru2B
Thu Aug 17, 2006 10:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create ,delete update Insert recors into hashed files
Replies: 2
Views: 1133

Even i am interested to know why exactly you want to do that via routine or unix?
Is this really your requirement or just for knowledge sake?
by DSguru2B
Thu Aug 17, 2006 3:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to combine 2 datasets from a database
Replies: 10
Views: 1492

Union All is the best way as advised by others. Its a simple sql that you need to write and get it done. Are the two tables in different databases? If yes then use the funnel stage. You can also create two files and combine them at the OS level.
by DSguru2B
Thu Aug 17, 2006 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparce lookup
Replies: 9
Views: 2748

Why dont you build a lookup set from the 50 records. Have the DB2 table as your input and do a lookup. This way you will get all the records from the table that have a hit on the dataset. I am sure you must have thought of that but whats stopping you from using this method. I am not very familiar wi...
by DSguru2B
Thu Aug 17, 2006 2:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while trying to retrieve text for error ORA-12154
Replies: 10
Views: 4182

Try to google the keyword ORA-12154. Try to lookinto it. Try this link for a start
http://www.is.mcgill.ca/minerva/Help/ora12154.htm
by DSguru2B
Thu Aug 17, 2006 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparce lookup
Replies: 9
Views: 2748

Load the 60 records into a temp table and utilize the power of UDB by doing a join at the database level. That would be faster anyday, keeping in mind the network traffic that will be induced if 30M records are to be loaded to a file and then doing a lookup.