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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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