Page 1 of 1

Read Packed unsigned fields

Posted: Fri May 21, 2010 8:43 am
by ahmedwaseem2000
Hi,

I am trying to read packed unsigned fields. do you know how do I do that? because packed fields are always have a signed nibble appended to it and in complex flat file when I try to remove the signed = ? then it doesnt read.

thanks for you help!!

Posted: Fri May 21, 2010 9:06 am
by munch9
What is the source of these fields?

From an IBM system, even if a field is defined as unsigned there is still a trailing nibble (typicaly x'F') where the sign would normally be.

Removing 'signed=?' works ok for these fields, are you saying that there is no sign/placeholder nibble at all?

Posted: Fri May 21, 2010 2:09 pm
by nagarjuna
If its a mainframe file , ask for COBOL definition and import the same .