Reading Fixed width
Posted: Thu Apr 07, 2011 8:06 pm
Hi GUys ,
I have problem in reading FIXED WIDTH file.
The file format is EBCDIC(character set).
Fox example:
input file: ab1234crest89.12
usually get the copy book
name PIC x(2)
ID PIC x(4)
class PIC x(5)
price PIC s9(1)v(2) comp-3
so while defining metadata in sequential file:
name char(2)
id char(2)
classs char(5)
price decimal(2,2):
here x represents char and v reflects it is decimal.
My Question is :in Squential file we have view button tab, i am able to get
char fields but i am not able to retriew decimal field.
plz guide me how to define in sequential metadata?
I have problem in reading FIXED WIDTH file.
The file format is EBCDIC(character set).
Fox example:
input file: ab1234crest89.12
usually get the copy book
name PIC x(2)
ID PIC x(4)
class PIC x(5)
price PIC s9(1)v(2) comp-3
so while defining metadata in sequential file:
name char(2)
id char(2)
classs char(5)
price decimal(2,2):
here x represents char and v reflects it is decimal.
My Question is :in Squential file we have view button tab, i am able to get
char fields but i am not able to retriew decimal field.
plz guide me how to define in sequential metadata?