Search found 143 matches

by anu123
Thu May 15, 2014 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to see the non printable characters
Replies: 6
Views: 3598

Thanks Ray. It worked. Actually when reading the file before I was using \x1A, so in filed function I was trying with that and just 1c (I kind of know that this is wrong as the data may contain 1c) which are the hexadecimal values. Thanks ssnegi for the alternative. But I wanted to do that in Datast...
by anu123
Wed May 14, 2014 12:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to see the non printable characters
Replies: 6
Views: 3598

Re: Unable to see the non printable characters

No I am not asking about how to find what is the character. Suppose in the file the data is delimited by ASCII 26, like A(ASCII 26)B, when I define single column in seq file stage and click on view data, I ma seeing AB in place of non printable character I don't see a box or anything. Later I want t...
by anu123
Wed May 14, 2014 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to see the non printable characters
Replies: 6
Views: 3598

Unable to see the non printable characters

Our file has different record types. It is a text file with ASCII data. Delimiter is a non printable character. I am trying to read the data in single column and then divide the records. But when I am trying to read the data in single line, when I say view data I could not see the non printable char...
by anu123
Wed May 14, 2014 7:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The execution of the query will not be atomic
Replies: 2
Views: 2226

Re: The execution of the query will not be atomic

It is solved as there is FK relationship on the table to itself and it is entering loop. That FK is not indexed. But after indexing it it is resolved.
by anu123
Wed Apr 16, 2014 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The execution of the query will not be atomic
Replies: 2
Views: 2226

The execution of the query will not be atomic

I am trying to perform Delete statement on DB2 (on mainframe). Job Design. Dataset -> Xfmr -> DB2 CONNECTOR I am deleting based on PK ID. I am getting a message as mentioned below. The execution of the query will not be atomic because the database server does not support atomic operations for non-in...
by anu123
Tue Apr 01, 2014 8:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The database manager is not able to accept new requests
Replies: 7
Views: 10552

Ray, but we are in development phase and potentially there are no other users that might be accessing it, and also the table there is Error table which we are using for audit purpose. So I am mostly sure that I am the only user accessing it.
by anu123
Tue Apr 01, 2014 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The database manager is not able to accept new requests
Replies: 7
Views: 10552

asorrell, I have changed the sql in the insert statement and defined clob columns at the end. Still I got the same error.
by anu123
Tue Apr 01, 2014 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error using surrogate key in transformer
Replies: 8
Views: 4638

Our DB2 is on mainframe and we are connecting through a gateway. So I guess we can't use it atleast in 8.1 version.
by anu123
Tue Apr 01, 2014 1:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The database manager is not able to accept new requests
Replies: 7
Views: 10552

The database manager is not able to accept new requests

I am getting an error while running the job to insert data into a DB2 table. Our DB2 is on Mainframe and we are connecting through a gateway. The error I am getting is TABLE_ERROR,0: SQLExecute reported: SQLSTATE = 40003: Native Error Code = -1224: Msg = [IBM][CLI Driver] SQL1224N The database manag...
by anu123
Thu Mar 27, 2014 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum of n number of rows
Replies: 9
Views: 8083

Thanks,

I was able to batch them, based on both the conditions
by anu123
Wed Mar 26, 2014 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum of n number of rows
Replies: 9
Views: 8083

Hello, My requirement is right now I am assigning a unique number for every 500 numbers with the logic @INROWNUM/500. But the requirement changed so that, I could accomodate this with the change of date or for every 500 numbers. If there are 100 rows with 100 different posting dates I need to create...
by anu123
Tue Mar 25, 2014 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum of n number of rows
Replies: 9
Views: 8083

Thanks for the reply.
by anu123
Fri Mar 21, 2014 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum of n number of rows
Replies: 9
Views: 8083

Thanks for the reply Mod(@INROWNUM,10) = StageVar -- If StageVar = 0 Or @INROWNUM =1 Then 'H' Else 'D' Above is my current logic for assigning header and detail for every 10 records, it works for all records but not in the case of first 10 records I need to uniformly divide them right now my headers...
by anu123
Thu Mar 20, 2014 7:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum of n number of rows
Replies: 9
Views: 8083

I am able to keep the ongoing sum. But after summation, I need to introduce a new row at 11th position which makes the total of 11 rows = 0 e.g.; consider sum of 10 rows to be 100, the value in the 11th row should be -100. And if the sum of next 10 rows from 12th position to 21st postion is -50 the ...
by anu123
Thu Mar 20, 2014 2:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sum of n number of rows
Replies: 9
Views: 8083

Sum of n number of rows

Hello, My requirement is, I get data from a table with approx 75,000 rows. Right now I need to separate them into chunks of 10 rows. I have 2 columns which must be summed for every 10 rows based on the sum I need to generate another row which makes the total sum of the previous 10 rows zero. My appr...