Copying the Folder Structure of a Clickstream Job

You should copy the folder that contains the template before you modify any of the objects that 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.
All of the available job templates are located in the Folders pane. The directory paths are listed in the following table:
Locations of Clickstream Template Jobs
Template Job Name
Directory Path
Production Templates
SAS Page Tag Basic Template
Products\SAS Data Surveyor for Clickstream\2.2 Jobs\Template Jobs\SAS Page Tag Logs\Basic
SAS Page Tag Customer Intelligence Template
Products\SAS Data Surveyor for Clickstream\2.2 Jobs\Template Jobs\SAS Page Tag Logs\Customer Intelligence
Standard Web Log-Basic
Products\SAS Data Surveyor for Clickstream\2.2 Jobs\Template Jobs\Standard Web Logs\Basic
Standard Web Log-Customer Intelligence
Products\SAS Data Surveyor for Clickstream\2.2 Jobs\Template Jobs\Standard Web Logs\Customer Intelligence
Tutorial Templates
SAS Page Tag Log
Products\SAS Data Surveyor for Clickstream\2.2 Jobs\Tutorial\Getting Started\SAS Page Tag Log
Standard Web Log
Products\SAS Data Surveyor for Clickstream\2.2 Jobs\Tutorial\Getting Started\Standard Web Log
Perform the following steps to copy and prepare a Clickstream job template:
  1. Right-click the folder that contains the template job and select Copy.
  2. Right-click the folder where you want to paste the template and select Paste Special 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 that you must have administrative privileges to perform this task.
    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 folder that was just copied. Then, open the properties windows for the two jobs in the 2.2 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.
    Note: You might also need to rename the libraries for the single Web log, customer intelligence, and SAS page tag log job templates. Expand the Data Sources folder for the template and its subfolders to reveal the libraries used by the job. To distinguish these libraries from the original libraries used by the 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.
  4. If you modified the Directory Paths when copying the 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 Directory Name 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.
  5. 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.
  6. 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.
  7. 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.