Search found 64 matches

by sanjumsm
Wed Apr 11, 2012 3:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with IsValid function with integer(int32) and decimal
Replies: 10
Views: 17529

Issue with IsValid function with integer(int32) and decimal

Thank you everybody for giving their feedback. I am using 8.1 version of datastage. I wanted to use APT_ISVALID_75COMPAT parameter but unfortunately i can't see that in environment parameter list. But i cross checked the behaviour of IsValid for "Int32" in 7.5 and it is working fine there....
by sanjumsm
Tue Apr 10, 2012 10:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with IsValid function with integer(int32) and decimal
Replies: 10
Views: 17529

Issue with IsValid function with integer(int32) and decimal

Hi Can anybody help me on following issue. I am using following funtion to validate integer values. IsValid("Int32","+2147483648") this retrun 1 even though the max positive value allowed is 2147483647. another issue: I am validating decimal[18,2] values using following function ...
by sanjumsm
Mon May 30, 2011 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing Hexadecimal value from Datastage to Teradata Byte(8)
Replies: 4
Views: 7422

Soryy, Craig... I put my question in parallel forum. My apology.
by sanjumsm
Mon May 30, 2011 4:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing Hexadecimal value from Datastage to Teradata Byte(8)
Replies: 4
Views: 7422

Writing Hexadecimal value from Datastage to Teradata Byte(8)

Hi All, This post is in continuation to the below post. http://www.dsxchange.com/viewtopic.php?t=140387 I have got the decimal to hexadecimal conversion right in datastage. Now I have got input as Binary(8 ) in datastage. But, when I load the input value to Teradata which datatype is Byte(8 ), the i...
by sanjumsm
Fri May 27, 2011 1:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal to Hexadecimnal conversion
Replies: 7
Views: 5482

Thanks for your help. Even I could not find any limitation of this function in documentation. :D
by sanjumsm
Thu May 26, 2011 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal to Hexadecimnal conversion
Replies: 7
Views: 5482

Decimal to Hexadecimnal conversion

Hi Guys, It would be great if someone can help me to resolve the below issue: Requirement: I have 12byets of decimal input field that needs to be converted to hexadecimal and put into one table. My output field is Binary I am using OCONV(Input link,"MX"). It works fine when incomming value...
by sanjumsm
Mon Jun 01, 2009 12:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Unsigned Packed Decimals.
Replies: 3
Views: 3687

Reading Unsigned Packed Decimals.

I have senario where i have to read the Unsigned Packed Decimal. I am using the sequential file stage to read the binary files. Its value is 22334 and its HEX Value is 0234 023F If any signed value come in the input file then it should be treated as Null. Like 0234 023C OR 0234 023D. I am able to re...
by sanjumsm
Fri Feb 20, 2009 12:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating the sequence number and reseting the value for ne
Replies: 3
Views: 2508

Thanks for the reply. I am working on it. I will post update.

Thanks again.
by sanjumsm
Fri Feb 20, 2009 10:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating the sequence number and reseting the value for ne
Replies: 3
Views: 2508

Generating the sequence number and reseting the value for ne

Hi All, Generating the sequence number and reseting the value for new rows. Example. I have to generate the sequence number after each row generated by the pivot stage. col_A col_B col_C rec_count A B C 1 D D D 3 D D D 3 D D D 3 Z Z Z 2 Z Z Z 2 K K K 1 Expected output. col_A col_B col_C rec_count A ...
by sanjumsm
Sat Feb 14, 2009 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencial file not able to read binary(COMP) data correctly
Replies: 3
Views: 2251

"Try reading the file with a Complex Flat File stage" Ray, Thanks for the reply but Seqiencial Fille stage is recommended by the client to use not Complex Flat File stage. So have no choice but to use Sequencial file stage .Can we have something on Seqiencial Fille stage to acheive the res...
by sanjumsm
Fri Feb 13, 2009 5:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencial file not able to read binary(COMP) data correctly
Replies: 3
Views: 2251

Sequencial file not able to read binary(COMP) data correctly

Hi All, I know this topic has been discussed so many times. But I really did not get the real clue how to go about it after serching the earlier post. In CFD one field is there with datatype Field PIC S9(8) COMP. In sequencial file it takes as Integer((Int32) 8 in length Data format Binary Default 0...
by sanjumsm
Sat Feb 07, 2009 7:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Array Handling in Complex Flat File.
Replies: 4
Views: 3057

Hi All, I have gone through the Parrallel Job developer guide. It is mentioned that we have the option to flaten the Array and we can read it in CFF Stage.We can also flaten the Array based on the "occurs depending on" and i have the case where i have got "OCCUR DEPENDING ON" and...
by sanjumsm
Sat Feb 07, 2009 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Array Handling in Complex Flat File.
Replies: 4
Views: 3057

Array Handling in Complex Flat File.

I had the problem in reading the Array in the Complex Flat File. I have the Array with the OCCUR ON DEPENDING ON value. Can we read the Array in the Complex Flat File with the OCCUR ON DEPENDING Clause. or we need to read the Array without Expanding it and the normalizing it in the Transformer Stage...
by sanjumsm
Tue Jan 27, 2009 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in reading mainframe file format binary/EBCDIC
Replies: 2
Views: 2549

You need to check your Decimal fields and make sure they have a default value of 0.

I tried this way also. But not succeeded. :(
by sanjumsm
Fri Jan 23, 2009 4:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in reading mainframe file format binary/EBCDIC
Replies: 2
Views: 2549

Problem in reading mainframe file format binary/EBCDIC

Hi All, I have to read a mainframe file format binary/EBCDIC. I have imported copybook as metadata. I am able to view just 1 record which is not actual. Just for testing purpose I had created on server job of same design and I am able to view the actual number record. I put the following property at...