I'm trying to convert AFPDS spooled files to ASCII files to get to the raw text data. I'm using the host print API (QWPZHPTR, QwpzHostPrintTransform), or to be more specific, I'm using the IBM supplied (as is) utility HPTTOFLR which is built around the host print API. I have created my own WSCST object based on the following code:


DATA ='20'X.
DATA ='0D'X.
DATA ='0C'X.
DATA ='0D0A'X.

The problem is in the fact that the resulting text file doesn't contain carriage return characters at the end of each line even though they are specified in my custom WSCST object. All the other characters get converted correctly. I have tried various different hex characters in my code, but none of them seems to work.

Any help with this problem is appreciated.


Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact