View previous topic :: View next topic
|
Author |
Message |
Mike 1304
New User
Joined: 15 Oct 2011 Posts: 46 Location: Germany
|
|
|
|
Hi,
I want to convert a very simple AFP dataset to a plain text file.
No graphics or special formatting needed.
This must be done on a z/OS system.
Does anybody know a conversion program?
If not: I'll write my own conversion program in Cobol.
In the PTX line (X'D3EE9B'), where all the plain text is,
I found not only plain text, but also (I suppose) format control bytes.
Is there any manual I can read to understand the bytes?
So I can ignore them (for char set, bold, color)
or respect them (new line, new page).
I tryed to find something by google, but with no success. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Mike,
If your site is licensed for AFP, then surely there should be utilities available for this type of conversion in the AFP Toolbox.
Did you check with your site administrator?
Why reinvent the wheel?
Mr. Bill |
|
Back to top |
|
|
Mike 1304
New User
Joined: 15 Oct 2011 Posts: 46 Location: Germany
|
|
|
|
Thanks for your answer!
If there is a converion tool, it will of course be my 1st choice!
But in the description of AFP Tollbox I can't find a conversion tool.
All results from internet searches are running under Windows. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
This must be done on a z/OS system. |
Why must this be "done" on a mainframe? If the needed "text" file is available on the mainframe, will this not meet the requirement?
Is this a one-time process or does it need to be run multiple times a day? If it is one-time for some document(s), you might consider downloading the AFP data to a Win-based system, converting this/these to plain text using available Win-tools, and then uploading the text version back to the mainframe. |
|
Back to top |
|
|
|