Search found 5 matches
- Tue Jul 10, 2012 12:34 am
- Forum: General
- Topic: Run SQL and compile them to Excel sheet
- Replies: 0
- Views: 1192
Run SQL and compile them to Excel sheet
We write a lot of SQL statements to do data profiling. The results are compiled into an Excel sheet into tabs for each profiling rule. Now if the query returns a lot of data the analyst has to wait a long time for the data to show up and then copy it all into the excel sheet. I am asked to improve t...
- Thu Dec 14, 2006 5:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup stage key multiple matches handling
- Replies: 7
- Views: 14669
In Link Sort
Hi,
Use the Sort option in look up stage for the reference data and check the box for unique sort. So the duplicates will be removed. This will work fine for small number of reference records, but reduces the performance as the number increases.
Use the Sort option in look up stage for the reference data and check the box for unique sort. So the duplicates will be removed. This will work fine for small number of reference records, but reduces the performance as the number increases.
- Thu Dec 14, 2006 4:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup stage key multiple matches handling
- Replies: 7
- Views: 14669
Unique sort.
Use a Sort Stage for the reference data, sort on the key fields and change "Allow duplicates" property to "False" or use a Remove Duplicates stage.
Hope this helps,
Hope this helps,
- Tue Dec 12, 2006 3:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to handle the warnings when using the stingTodate
- Replies: 8
- Views: 3338
Try this code.
Try the following code in a transformer stage. In place of X give your coloumn name.
StringToDate(X[1,4] :"-" : X[5,2] : "-" : X[7,2], "%yyyy-%mm-%dd").
Also check the date format in the input to see if it is "YYYYMMDD". change the code accordingly.
StringToDate(X[1,4] :"-" : X[5,2] : "-" : X[7,2], "%yyyy-%mm-%dd").
Also check the date format in the input to see if it is "YYYYMMDD". change the code accordingly.
- Thu Nov 23, 2006 12:26 am
- Forum: General
- Topic: viewing data from the input sequential file of a paralleljob
- Replies: 6
- Views: 7807
check the metadata and Properties of sequential file stage.
Import the meta data again. Open the sequential file and see how the columns are seperated, the end delimiter and see if the data is in double quotes. see if all these properties are given correctly in the properties tab in sequential file stage.