I had been generating and running my web pages and graphs locally for the past few months. so now this project is going live and I need to know how do I get SAS to force the ods html pages and graphs to be output to a remote directory in our company server so that everyone in the company will be able to view these webpages?
The 'best' answer for you will be dependent on what code you're currently using, and what kind of output you're creating.
But an example of _one_ way to control the output location, when using "ods html" and device=png (or gif, etc) is included below. I assign a "filename odsout", and then I use that in the "path=" of my ods html statement (in my case, U: is mapped to a drive on the netapp file server \\sashq\root\u\realliso\ on the network, and the public_html directory is served by a web server)...
filename odsout 'u:\public_html\';
ODS LISTING CLOSE;
ODS HTML path=odsout body="&name..htm" style=minimal;
Yennie - when I run the code I provided, it produces both a png file and an htm file, such as ...
login003> ls -lt foo*
-rwxr-xr-x 1 realliso isd 3172 Mar 24 08:11 foo.htm
-rwxr-xr-x 1 realliso isd 7569 Mar 24 08:11 foo.png
Try running the code from Windows SAS, as-is (with no changes), from a fresh SAS session. Oh, and not from EG. ... and I bet it will produce both files for you :-)
With that as your starting place, then try adding your own SAS/Graph proc, and make sure it still produces both files. And then try running it from EG, etc, etc. At each point, making sure it produces both files. Perhaps your SAS session has a setting that's overriding the code, or maybe something similar if you're running from EG.