Search found 6797 matches

by DSguru2B
Mon Mar 19, 2007 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: change data capture
Replies: 12
Views: 3072

Load todays file in TEMP1 and yesterdays file in TEMP2. Once you finish your change detection, truncate TEMP2 and load it with TEMP1's data. Finally truncate TEMP1. Tomorrow when you get fresh file, load it into TEMP1. This way your TEMP1 will always have todays file and TEMP2 will always have yeste...
by DSguru2B
Mon Mar 19, 2007 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: change data capture
Replies: 12
Views: 3072

Well, if its a column by column comparison then kcbland already gave one suggestion; to load the files to temp tables and do join. Another way would be to load one file to a hashed file keyed on all the columns and do a lookup against the other file. reflink.NOTFOUND will give you the changes in the...
by DSguru2B
Mon Mar 19, 2007 2:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence - Trigger - OK/Warning
Replies: 12
Views: 11940

Yes, True, I forgot that these numeric values can change. Thanks for jumping in Craig.
by DSguru2B
Mon Mar 19, 2007 2:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence - Trigger - OK/Warning
Replies: 12
Views: 11940

Look at Craig's 3'rd reply in thispost.
by DSguru2B
Mon Mar 19, 2007 2:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing Positive decimal with + sign
Replies: 13
Views: 3629

Specify the output as varchar and see if the following works for you: Specify a stage variable say stgVar. Let its derivation be DecimalToString(in.Field). For the derivation of the particular column, specify the following: If INDEX(stgVar, "-", 1) > 0 then stgVar else "+"...
by DSguru2B
Mon Mar 19, 2007 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Runtime Error
Replies: 4
Views: 1694

Never saw that error. Whats your design like? I think its a better idea to get in touch with support as not very many of us have had a chance to work with 8.0
by DSguru2B
Mon Mar 19, 2007 2:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Filter certain Date values
Replies: 13
Views: 3818

ICONV/OCONV wont work in parallel jobs.
First you need to seperate records which have date length less than 10. The ones that pass, apply StringToDate() function to them.
by DSguru2B
Mon Mar 19, 2007 2:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: change data capture
Replies: 12
Views: 3072

You have to recognize a field as a key in order to detect any change.
by DSguru2B
Mon Mar 19, 2007 12:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Filter certain Date values
Replies: 13
Views: 3818

If you dont mind using the transformer you could do the following in the constraint

Code: Select all

Len(in.Date) < 10

This will give you all records whose date length is less that 10.
by DSguru2B
Mon Mar 19, 2007 12:52 pm
Forum: General
Topic: This Job contains one or more unattached links, all links mu
Replies: 10
Views: 9526

How many stages do you have? If its less, copy paste them to a different job, instead of copying the job or doing 'Select All'.
by DSguru2B
Mon Mar 19, 2007 11:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using dsjob -run -param to pass parameters
Replies: 13
Views: 13081

Can't these guys edit a file and put the parameter values in the file?
by DSguru2B
Mon Mar 19, 2007 11:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connection Problem
Replies: 12
Views: 5604

Go to the home directory

Code: Select all

cd $DSHOME

or

Code: Select all

cd `cat /.dshome`

and type uv or dssh. This will take you to the uv prompt.
by DSguru2B
Mon Mar 19, 2007 11:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looking for help on a function
Replies: 3
Views: 895

Go into datastage help, go to the last tab Search and type Parallel Job Functions , hit 'List Topics'. It will give you a bunch of topics, click on Parallel Job Functions . It will give you a list on the righ hand side of all the parallel functions. Click on them and find them in the chart. These ar...
by DSguru2B
Mon Mar 19, 2007 11:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncating varchar field
Replies: 5
Views: 1296

What do you mean its truncating? Is it truncating the data (can you confirm by doing a head at the unix level) or truncating the length? If you want to honor the length then specify the field as char.
by DSguru2B
Mon Mar 19, 2007 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORCHESTRATE ERROR
Replies: 8
Views: 4173

Thanks for coming back with the resolution. :)