I must ask! Why don't you just create the file, download a free hex viewer
(like hexmad) and simply look at the file?
I don't know if it makes a difference how one compresses the file. I used:
libname test "c:\art";
data test.have (compress=char);
informat lastname firstname $10.;
length lastname firstname $10;
input lastname firstname;
I'll provide an answer this time but, really, why ask when a simple test can
provide the answer directly?
On my computer it ended up doubling the size of the file and Tom Smith got
translated, in hex, to: 82 54 6F 6D E5 84 53 6D 69 74 68 E3 FE FB FF FF
On Wed, 23 Nov 2011 01:20:10 -0500, bbser 2009 <bbser2009@GMAIL.COM> wrote:
>Assuming the lengths of both Lastname and Firstname are 10 bytes.
>If Lastname='Smith' and Firstname='Tom', then do you think, in the
>compressed file generated by using compressed=CHAR, the observation looks
>something like this?
>5 S m i t h 5 3 T o m 7