Hello Chethan,
Your copybook says that LOAN-NO is composed of 7 bytes. By default, these are converted to a java String.
Your test shows that the content of this field is not displayable EBCDIC characters.
You say the content might be packed decimal but if this was the case, your copybook does dot match (a packed decimal is not a PIC X).
My advice is to look at the data from the file you are reading, for instance you can do:
System.out.println(HostData.toHexString(data, 0, 15));
right after you read the data, it should tell you what you have at offset 4.
Fady