Hello,
I'm developing job mainframes, the datatypes used are integer signed and unsigned, the problem is when define in DataStage the datatype as integer, but the default is signed, i need to define a integer unsigned..
Is there a problem when read a dataset using the incorrect datatype, in this case the integer signed when the data is signed???
Miguel Seclen
Lima - Peru
DS/390
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Did you import the table definition from a DCLGen file or from an FD file? If so, what does DataStage report?
You could probably tolerate signed integers, redefining them as unsigned if necessary in a WORKING STORAGE section. After all, the sign bit in an integer is always in the most significant bit position.
You might also like to edit the template for the stage type that you're using.
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
You could probably tolerate signed integers, redefining them as unsigned if necessary in a WORKING STORAGE section. After all, the sign bit in an integer is always in the most significant bit position.
You might also like to edit the template for the stage type that you're using.
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Hi,
I know this problem (oops ! feature) fron DS 4. Unsigned packed decimal were not supported (It was documeneted !) for internal maipulations i.e. transformer/external routine API etc.
I'm not updated with this issue on newer versions. Check it out .
If you're only reading then DataStage will internally convert the field from pic 9(9) comp-3 to s9(9) comp-3
I know this problem (oops ! feature) fron DS 4. Unsigned packed decimal were not supported (It was documeneted !) for internal maipulations i.e. transformer/external routine API etc.
I'm not updated with this issue on newer versions. Check it out .
If you're only reading then DataStage will internally convert the field from pic 9(9) comp-3 to s9(9) comp-3
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: