Hi,
we are having a migration program where we are getting some data from MAINFRAMES and we have to load it back to MAINFRAMES again.
here we have a requirement where we have to convert Comp3 datatype to Numeric and again Convert that numeric value to Comp3 datatype.
But in DataStage 7.1 we have option for Comp3 to Numeric type convertion, but reverse function is not available, could you help us in this regard..
Thanks in advance,
sakthi
Converting Numeric into Pic Comp3 data type
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm
You either need to look at the sdk routine you mentioned and write your own version that goes 'backwards' or use the CFF (Complex Flat File) stage to write out the file.
I'm guessing there will also be an EBCDIC requirement you'll need to handle and the CFF stage will do that as well, from what I recall.
I'm guessing there will also be an EBCDIC requirement you'll need to handle and the CFF stage will do that as well, from what I recall.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 19
- Joined: Tue Apr 26, 2005 11:41 pm
Hi Chulett,
Thank you very much for ur suggestion.
But the CFF stage can be used for reading purpose only, it wont allow to write into it.
"DataTypePicComp3(%CobolString%)" this sdk routine converts Comp3 data type into a numeric value, what we need is reverse process, could you send me a suggestion on how to approach that process.
Thanks
Sakthi
Thank you very much for ur suggestion.
But the CFF stage can be used for reading purpose only, it wont allow to write into it.
"DataTypePicComp3(%CobolString%)" this sdk routine converts Comp3 data type into a numeric value, what we need is reverse process, could you send me a suggestion on how to approach that process.
Thanks
Sakthi