11-06-2015 02:33 PM
I need help with ODS in Z/Os, I generated a HTM output dataset on the mainframe called ABC.DEF.GHI.HTM which contains the output of the print proc.
I'm using send/receive utility to transfer the mainfrarme dataset to PC using the BINARY scheme transfer type, post tranfer I rename the file as _something_.HTM
When I open the file _something_.HTM in PC (Windows), Output is all invalid characters.
Could anyone please describe what is the best way to get out of this situtaion?
11-07-2015 02:00 AM
Z/OS uses the EBCDIC character set, which differs significantly from the ASCII-based character sets on all other operating systems.
Therefore you need to use ASCII or text transfer modes, where the conversion is done on the fly for you.
07-25-2016 09:15 AM
Adding a reply here in case anyone else gets this as a recommendation.
Secomd - there's a free Apache-based web server for z/OS that isn't hard to set up and get running; maybe just server the pages from the mainframe itself. One advantage: When you re-run your SAS program to tweak the graph or update it, you only need to refresh the web page in your browser, no file transfers necessary.