Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Decoding AFP Datastream, especially PTX line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Mike 1304

New User


Joined: 15 Oct 2011
Posts: 43
Location: Germany

PostPosted: Sat Nov 12, 2011 7:52 pm    Post subject: Decoding AFP Datastream, especially PTX line
Reply with quote

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
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Sat Nov 12, 2011 10:49 pm    Post subject: Reply to: Decoding AFP Datastream, especially PTX line
Reply with quote

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
View user's profile Send private message
Mike 1304

New User


Joined: 15 Oct 2011
Posts: 43
Location: Germany

PostPosted: Sun Nov 13, 2011 12:11 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Nov 13, 2011 8:49 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts ISREDIT - Position Cursor on the Comm... Tarique Anwer TSO/ISPF 5 Wed Feb 03, 2016 12:44 pm
No new posts Use Edit Line Command Table with ISPF... Mickeydusaor TSO/ISPF 5 Thu Jan 28, 2016 4:52 pm
No new posts ISPF 3.4, SF line command does not su... Pedro TSO/ISPF 0 Fri Jan 15, 2016 11:09 pm
No new posts Can someone explain me this JCL line ... PeterHolland JCL & VSAM 9 Sat Dec 12, 2015 7:22 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us