Hi all,
I have a problem handling binary data, especifically when my easytrieve is reading a 1 digit binary data.
In my input file in position 28 i have a 1 digit binary which contains the tens of a date ,in example "10" of 2010.In the pgm is declared as YEAR 28 1 B
The problem is when i have to do some operations with that ,because when am displaying the content of the 1 digit binary easytrieve shows me the decimal value , i.e 16 , and when i work with 1digit binary the value is 16 too.
What do i need to do in order to not loose the "10" ?
I tried to move to a numeric variable lenght eq 2 ?
I tried to assign to a numeric variable lenght eq 2 ? but am still having the decimal value.
thanks a lot.
Sergio