Search found 245 matches

by arunkumarmm
Wed Jul 31, 2013 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector Stage
Replies: 10
Views: 4224

As mentioned by ArndW, there will usually be a batch ID loaded to all the tables, unique for every run. And in order to revert, there will be a separate delete job, which will pick up the batch IDs and delete all records for that batch ID. We also had a situation when there was no batch ID and the t...
by arunkumarmm
Tue Jul 30, 2013 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

Sorry. I'm not able to understand how your file looks. You use CFF if your file is in EBCDIC format. If you are not sure about the format/structure of your file, ask it to the guys who create it. Understand it. Then I hope it will be easy for you to read it inside datastage.
by arunkumarmm
Tue Jul 30, 2013 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to read entire data of a text col when data is huge
Replies: 5
Views: 3380

How long is your text column actually in the file? I remember using longvarchar to read from CLOB or to read the source XML files.
by arunkumarmm
Tue Jul 30, 2013 12:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

A sequential file stage.
by arunkumarmm
Mon Jul 29, 2013 11:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

So if the file is ASCII, why are you using CFF?
by arunkumarmm
Mon Jul 29, 2013 11:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

You did not answer the important question. Is your file ASCII or EBCDIC ?
by arunkumarmm
Mon Jul 29, 2013 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting Single Row into Multiple Rows Based on Columns
Replies: 8
Views: 3366

You have the same metadata from both the links right? Use funnel.
by arunkumarmm
Mon Jul 29, 2013 12:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting Single Row into Multiple Rows Based on Columns
Replies: 8
Views: 3366

Okay.. Sounds like a kinda dynamic pivot :D If you not gonna be dealing with a lot of rows, write your records to a file as csv. Read the entire record as one single column. Your ground zero year is 2012(You can even hardcode this value) and add one to it for every iteration to get the year and put ...
by arunkumarmm
Mon Jul 29, 2013 11:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting Single Row into Multiple Rows Based on Columns
Replies: 8
Views: 3366

You mean to say only the value of the years will change and the number of columns will remain the same? What is the indication you will have w.r.t the year? I'm not sure if pivot can handle this, though the first thought comes into the mind is pivot after reading the requirement :lol: As you are in ...
by arunkumarmm
Mon Jul 29, 2013 11:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

Pic s9(4) is not the same as Pic 9(4) COMP. And there it is.. It should not be a binary field on an ASCII file. Is there a reason why you are trying to read ASCII file using CFF? And not a sequential file?
by arunkumarmm
Mon Jul 29, 2013 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting Single Row into Multiple Rows Based on Columns
Replies: 8
Views: 3366

If you gonna have only two years, why don't you split it in the transformer? Two links out of your transformer, one with first year and the other with another year and then join them again? Am I missing something?
by arunkumarmm
Mon Jul 29, 2013 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

i have defined FORMAT_CD as BINARY [4] USAGE COMP only its in output its as INT 4, rest all columns are CHAR not aware about the NLS map what it should be..? So that column in copy book is mentioned as Pic 9(4) Comp.? And NLS, if your source file is in EBCDIC format, you should set it to the EBCDIC...
by arunkumarmm
Mon Jul 29, 2013 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

Do you have any packed fields? If so, how have you defined them?

And are you trying to read more than one record type out of the same CFF stage? If so, did you try deleting other links and view the data?

What is the NLS map you have defined?
by arunkumarmm
Mon Jul 29, 2013 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input buffer overrun at field
Replies: 19
Views: 17953

How did you define your metadata in CFF? If you have defined it manually, try importing the actual copybook.
by arunkumarmm
Mon Jul 29, 2013 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not fetching data from XML Input stage
Replies: 6
Views: 2471

If you don't include the namespace in your X-Path, it will not fetch the data. Maybe one of your files is defined with namespace and the other is not. If this is the case, the same X - Path will not work for both. E.g., With namespace: /ns1:root/ns:1records/ns1:value/text() Without: /root/records/va...