Copying the Basic (Single) Web Log Template

You should copy the Basic Web Log Templates folder located under the Single Log Templates folder before you modify any of the objects it contains. When you use a copy of the template, you ensure that you keep the original template job and retain access to its default values.
Perform the following steps to copy and prepare the single log template:
  1. Right-click the Basic Web Log Templates folder. Then, click Copy in the pop-up menu.
  2. Right-click the folder where you want to paste the template. Then, click Paste Special in the pop-up menu to access the Paste Special wizard. For example, you can paste the folder into the Shared Data folder if you want other users to have access to the new template.
    Note: The decision to select Paste Special rather than Paste is very important. If you select Paste, then the paths in your copied job all point to the same paths used in the original templates. Paste Special provides you the opportunity to change these paths while creating the copy.
    Click Next to work through the pages in the wizard. You should leave all the objects selected in the Select Objects to Copy page. The SAS Application Servers page enables you to specify a default SAS Application server to use for the jobs that you are copying. The Directory Paths page enables you to change the directory paths that are used for objects such as SAS libraries. Click Finish when you complete the pages.
  3. Rename (if desired) and expand the new Basic Web Log Templates folder that was just copied. Then, open the properties windows for the two jobs in the 2.1 Jobs folder and rename them. For example, you can gather Web log data that originates from a Web site designated as Site 1. In that case, you can rename the clk_0010_setup_basic job to clk_0010_setup_basic_Site1 and the clk_0020_create_output_detail job to clk_0020_create_output_detail_Site1.
  4. Expand the Data Sources folder for the template and its subfolders to reveal the libraries used by the single log job. To distinguish these libraries from the original libraries used by the Page Tagging Template job, you can rename these libraries to include the site name. For example, you can rename the Basic - Additional Output folder to Basic - Additional Output - Site1.
  5. If you modified the Directory Paths when copying the multiple log templates, then open the renamed clk_0010_setup_basic job and modify the Setup transformation properties. (Otherwise, proceed to step 6.) Then, on the Options tab, modify the values in the Root Directory and Template DirectoryName fields to match the directory paths that you specified when creating the copy of this template. If you did not change the default values, then no changes should be required.
  6. Run the renamed clk_0010_setup_basic job. This job creates the necessary folders and sample data to support the renamed clk_0020_create_output_detail job.
  7. Open the job properties window in the renamed clk_0020_create_output_detail job. Then, edit the EMAILADDRESS parameter in the Parameters tab.
    • First, select the EMAILADDRESS row in the table.
    • Second, click Edit to access the Edit Prompt window.
    • Third, click Prompt Type and Value and enter the e-mail address to use for any failure notification messages in the Default value field.
    • Fourth, click OK to exit the job properties window.
  8. If you modified the directory paths when you copied the single log template, open the properties window for the Clickstream Log transformation and specify the appropriate value in the File name field on the File Location tab.