Search found 71 matches

by kogads
Thu Jan 27, 2011 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to read files from share drive
Replies: 0
Views: 966

Not able to read files from share drive

I have a job which reads the files based on the file pattern and creates dataset. It was running fine before but started aborting after reading the files from a share drive. Here is the error message. Unable to generate a node map from fileset /D=/tmpdir/import_tmp_51692fe518d.fs. Also I ran the job...
by kogads
Mon Aug 02, 2010 8:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert CSV to Pipe delimited
Replies: 3
Views: 4477

Convert CSV to Pipe delimited

Hi All,

I want to convert the CSV file to Pipe delimited file

Ex:"aaa","bbb",""Wow!!!" this is good","ddd" to
aaa|bbb|"Wow!!!" this is good|ddd

Experts ideas will really help.
Thanks in advance.
by kogads
Wed Jun 30, 2010 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File name in the reject link
Replies: 3
Views: 2351

Re: File name in the reject link

Hi All, I am using file pattern in sequential file to capture the data.I have a file name column to which populate the name of the file it is extracting.My problem is the reject link data is not showing the file name. How do I know which file is rejecting the data if file name is not populated in r...
by kogads
Tue Jun 29, 2010 4:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File name in the reject link
Replies: 3
Views: 2351

File name in the reject link

Hi All, I am using file pattern in sequential file to capture the data.I have a file name column to which populate the name of the file it is extracting.My problem is the reject link data is not showing the file name. How do I know which file is rejecting the data if file name is not populated in re...
by kogads
Thu Jun 24, 2010 11:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record Count
Replies: 3
Views: 1881

Record Count

Hi All, I am extracting files for a directory using a file pattern using sequential file. I need to perform audit check as well for all the files. Each file has record count as a part of its name. Ex. test1.R3000. This test1 file has 3000 records. I need to abort the job if the record count fail. As...
by kogads
Thu Jun 17, 2010 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Current Indicator for duplicate records
Replies: 3
Views: 1429

Use sort stage and set Create Key Change column to true which creates a field KeyChange. Current Indicator : If KeyChange = 1 then 'N' Else 'Y' I used the sort stage with the logic you mentioned. i used the RecId as sort key and set the create key change column option. The output is not what iam ex...
by kogads
Thu Jun 17, 2010 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Current Indicator for duplicate records
Replies: 3
Views: 1429

Current Indicator for duplicate records

Hi All, I have records which look like below RecId Date 1 20100614 2 20100614 3 20100614 3 20100615 3 20100616 The output should look like RecId Date Current Indicator 1 20100614 Y 2 20100614 Y 3 20100614 N 3 20100615 N 3 20100616 Y Can any one please suggest a logic for this. Thanks...
by kogads
Wed Jun 16, 2010 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Pattern
Replies: 4
Views: 3030

I still cant understand how we can track the error file if we have the environment variable $APT_IMPORT_PATTERN_USES_FILESET set to true and File Name column is provides in sequential file?
by kogads
Tue Jun 15, 2010 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Pattern
Replies: 4
Views: 3030

File Pattern

Hi All,
We have a requirement to capture all the files in a folder which have same metadata. I am using the file pattern to read all the files using sequential file stage. How can we track the file that is causing problem or the file that cant be extracted from the set of files.

Thanks in advanse.
by kogads
Thu Apr 29, 2010 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert issue with large volume of data
Replies: 2
Views: 1789

Check the update statement. Also, see whether you are getting any nulls in the key fields..
by kogads
Tue Mar 16, 2010 12:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column generator with reject condition
Replies: 3
Views: 2012

I don't think you can assign user defined values in look up stage.
by kogads
Tue Mar 16, 2010 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format writing to oracle
Replies: 6
Views: 2582

Assuming you are reading data in one field
field1 -> 'mm-dd-yyyy.hh.mm.ss'
StringTodate(field1[1,10],'%mm-%dd-%yyyy') should work.
by kogads
Mon Mar 08, 2010 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing to AIX sequential files and DB2 concurrently
Replies: 5
Views: 2496

Re: writing to AIX sequential files and DB2 concurrently

I don't think you can complete the write if one of the two fails.
Consider using Funnel Stage (Sequence type), though you can not write concurrently.
by kogads
Thu Feb 25, 2010 6:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage advantages over SSIS
Replies: 1
Views: 2443

Datastage advantages over SSIS

Hi All,
Can any one please give a broad picture on the advantages using Datastage over SSIS.I have to defend using Datastage over SSIS with my client. SSIS is cheaper and obviously client is pushing us to use SSIS for ETL instead of DS. Appreciate your thoughts.

Thanks.
by kogads
Thu Feb 11, 2010 11:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 date and time column
Replies: 5
Views: 2954

Thank You very much for your reply.It worked for me when defined as varchar.