I am new to DS and need your assistance on the below.
I am receiving a EBCDIC file from Mainframe, which has the Start position and Length of a particular String. The string is in Packed decimal format. My requirement is to read the start position and Length, and with the help of Start position and Length read the packed decimal string.
Please help me out with your expertise. Thanks.
Read Packed Decimal from EBCDIC File
Moderators: chulett, rschirm, roy
-
natesan81DS
- Participant
- Posts: 2
- Joined: Tue Jan 11, 2011 11:03 am
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
natesan81DS
- Participant
- Posts: 2
- Joined: Tue Jan 11, 2011 11:03 am
@Ray - Thanks for your quick responseray.wurlod wrote:Welcome aboard. Are you using a Complex Flat File stage? This has inbuilt support for packed decimal data. ...
Yes. I tried using a CFF Stage.
I have a Character field in my file from which i need to read a substring (which is of packed decimal format).
Since I have the Packed Decimal within the Character field, I could see JUNK Values while usign the CFF Stage.
Nat