× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



No, I don't think that the codes need to be in EBCDIC. I did some tests since my original post and it seems to me that the linefeed "event" doesn't get triggered for AFPDS spooled files. I think that Vertical Absolute Movement (VERAMOV) tag should be used, but I can't seem to pick the right values for the parameters. I'm still in the dark with this one...

----- Original Message ----
From: Michael Ryan <michaelrtr@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Monday, June 23, 2008 8:03:42 PM
Subject: Re: AFPDS conversion to text

Just a WAG, but do the hex codes need to be in EBCDIC since it's being
converted? Or, is it some other code page problem?

On Mon, Jun 23, 2008 at 12:35 PM, Goran Saric <goran_saric@xxxxxxxxx> wrote:
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:

:WSCST DEVCLASS=TRANSFORM.

:TRNSFRMTBL.
:PRTDTASTRM
DATASTREAM=IBMNONPAGES.
:SPACE
DATA ='20'X.
:CARRTN
DATA ='0D'X.
:FORMFEED
DATA ='0C'X.
:LINEFEED
DATA ='0D0A'X.
:EWSCST.

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.

Thanks.




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.