Hi, I'm reading decimal data using sequential file stage in fixed width format.
No signed bit is assigned. So, Packed= no (zoned) is selected.
For decimal(4), if data is 111a, then data is not rejected. Instead, its read as -1.
If data is 11a1 or 1a11, its getting rejected correctly.
When the last digit is not decimal, the record is not getting rejected and is getting read as -1. We want this record to be rejected. How can this be acheived?
Error in Reading sequential file
Moderators: chulett, rschirm, roy
Error in Reading sequential file
Shruthi
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom