BookmarkSubscribeRSS Feed
EdD
Calcite | Level 5 EdD
Calcite | Level 5
I am using ODS to create an EXCEL formatted CHTML file along with the FTILENAME FTP statement so that the output is FTP'd to a web server. The flow is FTPFILENAME FTP statement, ODS CHTML statement, PROC PRINT, and then ODS CHTML CLOSE.

The file is FTP'd to the web server but I can not open or delete the file. I get a message stating the file or directory can't be found.

Has anyone had this issue and found a resolution.

Thanks, Ed
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I'm confused about what an "Excel formatted CHTML" really is. ODS already has an Microsoft-compliant HTML destination (well, it has 2 of them) ODS MSOFFICE2K and ODS MSOFFICE2K_X. If you used those destinations with STYLE=MINMAL, you would come very close to the HTML generated by CHTML (which stands for "compact" HTML).

You say you get a message that says the file or directory can't be found. The directions for the FILENAME FTP engine are fairly specific depending on the type of OS you are writing FROM and the type of OS (Host name, ID, password needed) that you are writing TO.

Without knowing the specifics of your FROM and TO host systems, almost anything that anyone posts might be irrelevant, if they are using FTP from Windows to Windows and you are doing FTP from z/OS to Unix or from z/OS to Windows.

It might be that you would get quicker help by opening a track with Tech Support, as they could look at your system info and all your code and come up with a resolution that works for your scenario.

cynthia

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 928 views
  • 0 likes
  • 2 in conversation