Hi,
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?
Did you try using an ASCII transfer?
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.
Adding a reply here in case anyone else gets this as a recommendation.
First - when transferring from z/OS to another platform: HTML and Javascript files (if any) should be transferred as Text (ASCII in some FTP programs) - codepage translaton will happen between EBCDIC and UTF8 or ASCII; image files (JPG, PNG, etc.) have to be transferred in IMAGE or BINARY mode.
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.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: