Search found 158 matches

by kavuri
Thu Sep 13, 2007 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error in conversion logic
Replies: 4
Views: 1293

error in conversion logic

Hi i am getting a warning while running a transformer job, where I had used a C code. Sequential_File_2: When checking operator: When validating export schema: At field "ROLLNO": "null_field" length (0) must match field's fixed width (13) Can anybody tell me how can I eliminate t...
by kavuri
Thu Sep 13, 2007 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage error
Replies: 1
Views: 874

Re: Transformer stage error

I understand that the object file what I had linked is not referenced correctly, Is there anything like we need to put object file at a particular directory and include options, please tell me.

Thanks
Kavuri
by kavuri
Thu Sep 13, 2007 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage error
Replies: 1
Views: 874

Transformer stage error

Hi, can anybody tell me what is the error below, I am using a transformer stage, with a routine used. Error: Transformer_6: Failed to load the library "V0S6_testjob2_Transformer_6.o"; either the directory containing the library file is not on the library search path, or the library was com...
by kavuri
Wed Sep 12, 2007 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Errors in Transformer stage Routines.
Replies: 3
Views: 1740

Hi,

In the parallel routine I am giving following details.

Library Path : /home/bhi/biginttostring.o
Routine Name : biginttostring
External Subroutine name : biginttostring
Object type : Object.

Can you tell me Is there any wrong in this?

Thanks
Kavuri
by kavuri
Wed Sep 12, 2007 3:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Errors in Transformer stage Routines.
Replies: 3
Views: 1740

Re: Errors in Transformer stage Routines.

At last i was able to compile, Now i am getting an error while running my job, can anybody tell me whats the wrong with this. Transformer_6: Failed to load the library "V0S6_testjob2_Transformer_6.o"; either the directory containing the library file is not on the library search path, or th...
by kavuri
Wed Sep 12, 2007 2:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Errors in Transformer stage Routines.
Replies: 3
Views: 1740

Errors in Transformer stage Routines.

Hi, I had written a C code in which previously I used the function name as string(), which we should not use, Now I am getting some errors after I changed the function name. I am following here the code as well as error. Please tell me what's the wrong in it. Code : #include<stdio.h> #include<iostre...
by kavuri
Wed Sep 12, 2007 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Include C program
Replies: 5
Views: 2555

Hi, I still modofied my program and I had some changes, Still I am having compilation error in the job. Modified code: #include<stdio.h> #include<iostream.h> #include<stdlib.h> char Convert(int); char * string(long long Value) { //long long Value = 9223372036854775807LL ; int part = 0; char * strOut...
by kavuri
Wed Sep 12, 2007 11:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Include C program
Replies: 5
Views: 2555

Hi, I removed main() and placed like the following. #include<stdio.h> #include<iostream.h> #include<stdlib.h> char Convert(int); char* string(long long Value) { //long long Value = 9223372036854775807LL ; int part = 0; char strOut[12] = {0}; for(int i = 0; i < 11; i++) and the compiled as cc -c stri...
by kavuri
Wed Sep 12, 2007 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Include C program
Replies: 5
Views: 2555

Hi Benny, I tried but I dont weather I included everything correct or not, I got some errors, can you or somebody can help me in resolving the errors? Errors: Output from transformer compilation follows: ##I TFCN 000001 11:18:41(000) <main_program> Ascential DataStage(tm) Enterprise Edition 7.5.1A C...
by kavuri
Wed Sep 12, 2007 8:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Include C program
Replies: 5
Views: 2555

Include C program

Hi , I had written a C program which converts a bigint into string field. i.e I need to take input argument as bigint and return the value as string of fixed length. My code is something like following. #include<stdio.h> #include<iostream.h> #include<stdlib.h> char Convert(int); int main() { long lo...
by kavuri
Wed Sep 12, 2007 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: new column
Replies: 13
Views: 3771

Yes, I solved this issue. If (NullToZero(DSLink45.LINK_TYPE_CODE) = "ERPFO" Or NullToZero(DSLink45.LINK_TYPE_CODE) = "HSPFO") Then "Y" Else "N" i.e we need to place NullToZero, because input column is consistng of Null values. Thanks to all who made me to debu...
by kavuri
Wed Sep 12, 2007 7:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: new column
Replies: 13
Views: 3771

I placed like following If (Compare(DSLink45.LINK_TYPE_CODE, "ERPFO") Or Compare(DSLink45.LINK_TYPE_CODE, "HSPFO")) Then "Y" Else "N" Stll all the columns are getting dropped. I am getting following warning Transformer_54,7: Field 'LINK_TYPE_CODE' from input d...
by kavuri
Wed Sep 12, 2007 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: new column
Replies: 13
Views: 3771

Hi maveric,
I tried with the derivation what you have given. It still dropping all the rows. I need all rows in my output with either "Y" or "N" in that field.
What can I do in this?

Thanks
Kavuri
by kavuri
Tue Sep 11, 2007 3:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: new column
Replies: 13
Views: 3771

Hi, I would like to be more clear, i want to have a condition in my job , which stage is best for me, I got the answer as Transformer stage. As I am trying to use it, my records are being dropped. I dont want to drop any record, just simply update a field with "Y" or "N". Thanks ...
by kavuri
Tue Sep 11, 2007 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: type conversion/ Transformer stage
Replies: 8
Views: 4665

Hi, I worked out with C program its running fine. Now can you tell me what should I do to include it in the routines. One more thing the program what I had written consisting of a main() function , I think I need to include only object file without main. can anybody tell me how to create an object f...