Search found 27 matches

by Sandeep.pendem
Tue Jan 06, 2009 2:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way to specify that a binary field is signed?
Replies: 6
Views: 2428

Hello,

Thank you.

The select stuff happens on mainframe, basically its an unload from DB2 table on mainframe i.e creating a file and sent across to DS server. this file is then used in CFF stage to read the data i.e EBCDIC to binary.

Thanks for the help
by Sandeep.pendem
Tue Jan 06, 2009 2:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way to specify that a binary field is signed?
Replies: 6
Views: 2428

Hello, Thank you. I have PERIODKEY as PIC S9(4) COMP. and OUTLETKEY as PIC S9(9) COMP. PERIODKEY = 6957 and OUTLETKEY = 9. So What I am trying to do here is Multiply the SQL statement with -1 i.e SELECT (PERIODKEY * -1),(OUTLETKEY * -1) FROM CDS.FCREIMBS A So I expected this to be seen in datastage ...
by Sandeep.pendem
Tue Jan 06, 2009 2:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way to specify that a binary field is signed?
Replies: 6
Views: 2428

Hello, Thank you. I have PERIODKEY as PIC S9(4) COMP. and OUTLETKEY as PIC S9(9) COMP. PERIODKEY = 6957 and OUTLETKEY = 9. So What I am trying to do here is Multiply the SQL statement with -1 i.e SELECT (PERIODKEY * -1),(OUTLETKEY * -1) FROM CDS.FCREIMBS A So I expected this to be seen in datastage ...
by Sandeep.pendem
Tue Jan 06, 2009 10:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way to specify that a binary field is signed?
Replies: 6
Views: 2428

Is there a way to specify that a binary field is signed?

Hello, Is there a way to specify that a binary field is signed in datastage? I have a binary field Periodkey with value as 6957, however when I multiply it with -1 in the extract JCL it converts it into a integer value and doesnt shows the correct value as -6957 in datastage. it shows value as 0. So...
by Sandeep.pendem
Sun Dec 21, 2008 11:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Hello,

Yes, I am using CFF stage and using the functions to convert the binary values to ASCII format? do you mean we should be able to see this binary values in CFF stage? I mean we should'nt be using the functions at all?, this binary is real trouble....any help would be great......
by Sandeep.pendem
Sun Dec 21, 2008 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Hello Experts,

Could you please throw somelight here....is this doable? I mean can we use those DS transform function to convert it into Ascii, I am wondering why none of this functions give me accurate results.....please advice....
by Sandeep.pendem
Fri Dec 19, 2008 6:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Thanks a lot experts, I have FTPied it using mainframe in EBCDIC and MODE is binary Here is an example I am struglling with my source column MONTHKEY is PIC S9(4), I have used Binary(4) in CFF stage and it shows me valyue as 7397, but the expected value is 7329 I have used following functions conver...
by Sandeep.pendem
Fri Dec 19, 2008 6:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Thanks a lot experts, I have FTPied it using mainframe in EBCDIC and MODE is binary Here is an example I am struglling with my source column MONTHKEY is PIC S9(4), I have used Binary(4) in CFF stage and it shows me valyue as 7397, but the expected value is 7329 I have used following functions conver...
by Sandeep.pendem
Fri Dec 19, 2008 4:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Hello,

Experts please suggest some alternative, or right way of using the transform functions to reac ebcdic(binary) data to convert it into Ascii, I am still struggling with this encdic to ascii conversion..any help would be great..
by Sandeep.pendem
Thu Dec 18, 2008 8:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Thanks for the response, I have tried almost all the functions on the server transform/routines, none of this is working fine for me, i have a binary field, length is 2 I am unable convert it to ASCII format, Can you please suggest some way? alternate or right way of using this functions? I have tri...
by Sandeep.pendem
Thu Dec 18, 2008 8:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Yes, I am using CFF stage with ASCII as data format , Record Style as binary and I have Binary fields in my source...as such I am getting data in a flat file with ebcdic and binary mode format, however when I am using CFF stage, I could view most of the other character fields as ASCII but Binary fie...
by Sandeep.pendem
Thu Dec 18, 2008 7:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

Thanks for the response, I quite didnt understood regarding unpacked and packed stuff? can you please elaborate little more with some examples? Dont we have a trasnform/routine which can convert my binary data to a readable format on datastage? I am curious to know?
by Sandeep.pendem
Thu Dec 18, 2008 5:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 11108

How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII

Hi, I have tried almost all the transform Datatype functions to read the SmallInt(2) i.e a EBCDIC(binary) data from Complex flat file stage in the data format option selected ASCII and type binary to convert the field into ASCII data, none of the function is giving me expected results. Does anyone k...
by Sandeep.pendem
Wed Jul 23, 2008 4:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to read higher volume of record with ODBC(Sql server)
Replies: 19
Views: 6971

[quote="Sandeep.pendem"][quote="chulett"]Have you [b]confirmed[/b] a timeout issue or is it just a belief? I for one haven't heard of a "3 minute timeout" - a 3 minute egg, sure, but timeouts are usually more in the 30 to 60 minute range. IMHO, 3 would just be crazy and...
by Sandeep.pendem
Wed Jul 23, 2008 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to read higher volume of record with ODBC(Sql server)
Replies: 19
Views: 6971

[quote="Sandeep.pendem"][quote="chulett"]Have you [b]confirmed[/b] a timeout issue or is it just a belief? I for one haven't heard of a "3 minute timeout" - a 3 minute egg, sure, but timeouts are usually more in the 30 to 60 minute range. IMHO, 3 would just be crazy and...