Hi:
You are correct, the example in the Prep Guide assumes a Windows local install of SAS, where all of the related HTML files are opened from a write-access location on the user's C: drive.
When you are running on a server system, such as SAS OnDemand for Academics, the code may not work to build HTML frames in a way that you can open the frame file when downloaded. As an example, when I use the code in the Prep Guide on the SAS OnDemand server, I get this (looking at the HTML file as plain text to see the generated HTML):
As you can see, the Linux path for my /home folder is written into the src=option of the HTML code. So when I download the FRAME file to my local Windows system, I don't have a /home folder on my Windows system, so the FRAME file will open, but will be unable to load the 2 files that are linked to it. I'll show you a way below to work around this, if/when you really need to.
However, I believe this is a moot point, because if you check the CONTENT guide for the certification exam, you'll find that this topic is not on the list. I believe it was taken off the exam in the last revision because of the variability of using HTML frames on different operating systems. Here's the link to the content guide: https://www.sas.com/content/dam/SAS/documents/technical/certification/content-guide/specialist-base-programming.pdf and as you can see there's nothing as specific as using HTML frames. I'll open an errata item with the certification group about this topic. The fact about HTML frames is that their usage is nearly non-existent now. Most web masters are not using "vanilla" HTML controls for frame navigation these days, so in actual practice, you would give the HTML report files to the web team or write the HTML files to a shared location and they would control the frame-type navigation using other web site technology such as XML, ASP, or PHP, instead of HTML frames.
Cynthia
PS...One of the issues with the code, as written in the book, is that they needed to use slightly different syntax, as shown in the screen shot below:
You can see that when all 3 files are downloaded to my Downloads folder on Windows, then I can open the FRAME= file by just double clicking on the ssframe.html file (my name for the file) and everything displays correctly:
The reason this works is that using the (URL=NONE) suboption causes the src=option to NOT hold any of the path from the Linux system.
But again, I think this example in the book needs to be updated or removed entirely and I will bring the issue up to the editors.
Cynthia
... View more