IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Converting UTF-8 format to text/ASCII format


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Revathy Mourouguessane

New User


Joined: 25 Jul 2012
Posts: 5
Location: INDIA

PostPosted: Fri Sep 14, 2012 1:43 pm
Reply with quote

Hi Team,

I have a requirement to read .xlsx file in a PL/I program. I was successful in getting the .xlsx but when I try to read the content it is in unreadable form. Could anybody help me to convert the file into readable form. I don't have any knowledge in assembler but I would be happy if I get any help even as an assembler code.

The file encoding is in UTF-8 format, type - text/plain and as an dime attachment.

Please let me know if you need any details.

Thank you
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Fri Sep 14, 2012 2:15 pm
Reply with quote

isn't an .xlsx file, a Microsoft proprietary Excell Worksheet format?

how did you transfer the file to the mainframe?

binary? any conversion?
Back to top
View user's profile Send private message
Revathy Mourouguessane

New User


Joined: 25 Jul 2012
Posts: 5
Location: INDIA

PostPosted: Fri Sep 14, 2012 2:29 pm
Reply with quote

Hi,

There's an internal tool that gets the .xlsx file into host and the format is in binary.

Thank you!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10902
Location: italy

PostPosted: Fri Sep 14, 2012 2:51 pm
Reply with quote

Quote:
There's an internal tool that gets the .xlsx file into host and the format is in binary.


work with the people who designed the tool
googling for xlsx returned quite a few hits dealing with its conversion to other formats

a simpler approach might be to convert the excel sheets to CSV on the PC
and upload the CSV file to the MF in text format.

after that everything might be easier!

do not expect too much help here trying to decode the XLSX format!
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts COBOL Text Adventure Engine for TK4- ... COBOL Programming 0
No new posts Converting VARCHAR to XML DB2 1
No new posts IBM HPU 5.2 - Converting EBCDIC Chara... DB2 0
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
Search our Forums:


Back to Top