Interesting endeavour. Sorry I can't help you, but reading your question raised a few thoughts. 1. I would start with a SAS-encoded file and see what the output for your data is. 2. Did you read this and this? Maybe @BarbaraPost can help.
... View more