View previous topic :: View next topic |
Author |
Message |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Mon Aug 03, 2009 2:39 pm Post subject: TSO Binary to TSO Text conversion |
|
|
Members,
I have dataset which is in TSO Binary format and I am unable to read the contents of the file. Is there any way where in I can convert the Binary format to text / is there any way I can read the contents of the file , basically i want in TSO text. |
|
Back to top |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Mon Aug 03, 2009 3:03 pm Post subject: |
|
|
Since technically ALL data is binary, you need to explain better what you're dealing with. Alphabetic characters are binary, numbers are binary, packed decimal is binary, COMP is binary, special characters are binary, etc. If all your data is binary, what determines where one field ends and the next begins? And what do you mean by "TSO text"? _________________ ....Terry |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Aug 03, 2009 3:06 pm Post subject: |
|
|
yadav2005,
Did you upload/xmit the file from PC? If so you need to RECEIVE to get the file in the right format
Kolusu |
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Mon Aug 03, 2009 3:35 pm Post subject: |
|
|
Kolusu,
I have a mainframe dataset created by job and it uses some software pdf script or something to create it and I have it as a GDG. Later as a process this dataset is loaded to be printed to generate a letter.
Now I have the PDF letter with me , what I am trying to see if there is way to see the contents of the file without running a process of loading . So my concern is to know if any way we can convert binary to text format and see . |
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Mon Aug 03, 2009 4:05 pm Post subject: |
|
|
Kolusu,
Is there any way to get the conversion done. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Aug 03, 2009 8:47 pm Post subject: |
|
|
This isn't an ISPF or TSO issue. It is a data format issue. If your file is in PDF (as in Adobe Portable Document Format), maybe the software you created it with has a feature to extract text from it. Or you could download it to a PC and look at it there. Or since PDF is a text based format you might be able to write a rexx routine to decode it, but it may be in ASCII rather than EBCDIC so you'd want to convert it. Or 1 minute on google found pdftotext which maybe you could port to Unix system services if it hasn't been done already. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
|
|