Error in Reading sequential file
Posted: Fri Jul 10, 2009 1:08 am
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?
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?