Search found 128 matches

by bikan
Thu Jun 07, 2007 2:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read log files and write custom messages in Exception file.
Replies: 4
Views: 1683

Could any one provide me with some code on how to actually do it as it would be very helpful. I am trying to make a after job routine for the same but am unable to achieve the desired functionality.
by bikan
Wed Jun 06, 2007 2:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read log files and write custom messages in Exception file.
Replies: 4
Views: 1683

Read log files and write custom messages in Exception file.

Hi All, In this job I am working at I have to write custom messages in the exception report file. Messages like "Output file failed to open" No of records parsed in each link No of records parsed with a particular field being NULL On completion of output file write it shoul mention that th...
by bikan
Fri May 04, 2007 12:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Cobol File using CFF Stage
Replies: 5
Views: 4421

Thanks a ton Ray..!!!

I guess that is where the problem lies.

Thanks

Ramesh
by bikan
Thu May 03, 2007 5:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Cobol File using CFF Stage
Replies: 5
Views: 4421

Reading Cobol File using CFF Stage

Hi Friends, I was trying to read through a Cobol File which has a occur clause in it. I tried to read data using the complex flat file stage. I am able to read the file however datastage is not able to filter the group according to the occur clause. Ex. 05 FIELD-A PIC X(4) 05 FIELD-E PIC 9(02) 05 FI...
by bikan
Thu Mar 29, 2007 1:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Foreign Key Problem
Replies: 2
Views: 1099

Foreign Key Problem

My DS job uses ODBC to connect to DB2. Some of my Jobs fails in between throwing the following error message "INSERT OR UPDATE VALUE OF FOREIGN KEY TGT.ETW_RMS_REG_CUST_NOTES_DTL.ETWREG_ACC_NOTES_R INVALID" In other jobs, the job runs successfully with the similar kind of warnings . How am...
by bikan
Wed Mar 07, 2007 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Build op - Float comparison.
Replies: 6
Views: 1992

Here You Go... =================================== Code definition. ============== char BLOCKA=' '; char BLOCKB=' '; ============== code - Per records ======================= doTransfer(0); BLOCKA = ' '; BLOCKB = ' '; if (CHD_EXTERNAL_STATUS == 'B') { BLOCKA = 'B'; BLOCKB = 'H'; } else if (CHD_STATU...
by bikan
Tue Mar 06, 2007 7:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture Duplicates
Replies: 4
Views: 1806

Capture Duplicates

Here is the data:
State City
a 1
a 2
a 3
b 4
b 5
c 6

I want remove duplcates (whic i can do using remove duplicate stage). And also want to capture removed duplicates.
i,e,

Output 1:
a 1
b 4
c 6

Output2;
a 2
a 3
a 4
a 5
b 5

Any suggestions.
by bikan
Tue Mar 06, 2007 6:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Build op - Float comparison.
Replies: 6
Views: 1992

I have == it was not working too. I made mistake while writing post.
by bikan
Mon Mar 05, 2007 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Build op - Float comparison.
Replies: 6
Views: 1992

Build op - Float comparison.

generation of build op fails for incorrect operator ==' If condition with == works fine for all string constants but fails for decimal constants. Here is the code Code definition. ============== char BLOCKA=' '; char BLOCKB=' '; ============== code - Per records ======================= doTransfer(0)...
by bikan
Fri Jan 26, 2007 2:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Attempt to convert String value error
Replies: 6
Views: 1869

Gurus, I am just trying to cleanse data and i would like to capture all the rows that is not getting inserted in the target database. One example i am trying is to insert a varchar type into the integer column. I capture the reject records/Filtered records in the transformer using the following Filt...
by bikan
Thu Jan 25, 2007 6:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Attempt to convert String value error
Replies: 6
Views: 1869

Yes,

I am trying to insert String into an integer column.
by bikan
Thu Jan 25, 2007 3:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Attempt to convert String value error
Replies: 6
Views: 1869

Attempt to convert String value error

I am getting the following error when i use DB2/UDB stage. "Attempt to convert String value "BADDER" to Long type unsuccessful" The row is getting inserted into the target table with a NULL value in the target column. Is there any way i can stop this and make DB2/UDB stage reject...
by bikan
Tue Jan 23, 2007 4:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Constraints Rejects and Filtered records
Replies: 5
Views: 1716

Thanks Mate,

The soultion what you have gave dosen't satify my needs. The reject file/table will contain all the records(filtered records+rejected records) and how will i able to differenciate these?
by bikan
Tue Jan 23, 2007 4:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Holding Previous Record Value
Replies: 6
Views: 1914

Mate Try using RowProcCompareWithPreviousValue Routine which is written by Datastage which will solve ur problem. The routine will give you the output as below Example: Input Returns 1 0 1 1 1 1 2 0 3 0 4 0 4 1 4 1 5 0
by bikan
Tue Jan 23, 2007 4:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Holding Previous Record Value
Replies: 6
Views: 1914

Mate Try using RowProcCompareWithPreviousValue Routine which is written by Datastage which will solve ur problem. The routine will give you the output as below Example: Input Returns 1 0 1 1 1 1 2 0 3 0 4 0 4 1 4 1 5 0