Joined: 25 Feb 2006 Posts: 38 Location: chennai-india
actually it is got from the file
a pic 9(5) comp3.
b pic 9(5) comp3.
when i read the file it will be stored into a variable then i want the same contents to be moved to b variable. when moving it gave me s07 error so i just displayed the value it has the data '40404' but my requirements is the same data should be moved to b variable what ever it may be in a variable it should be moved.
if it is showing ''40404' ...it ascii or EBCDIC formate of spaces!!
some spaces are getting moved to that purticular field .u cant move move space to comp-3.
try initialise the record inwhich filed is there .