Preparing to Create an Aggregation Table

Set Up the Aggregation Transformation in the Process Flow Diagram

To create an aggregation table, you must first set up the Aggregation transformation in a job and then invoke one of the aggregation wizards. To set up the necessary Aggregation transformation, perform the following steps:
  1. Locate the job that you want to contain this Aggregation transformation. From the IT Data Marts tree, navigate to the IT data mart and folder that contains the job that you want to use. Double-click the job to open it on the Diagram tab of the Job Editor window.
    If you want to create a new job, see Jobs That Process IT Data.
  2. Navigate to the Transformations tree and expand SAS IT Resource Management.
  3. Drag and drop the Aggregation transformation onto the process flow diagram.
    Note: A job can contain multiple Aggregation transformations.
  4. Drag and drop a source table onto the process flow diagram and using the cursor, connect the table to the left side of the aggregation image.
    Note: The source table is usually a staged table that was created by a SAS IT Resource Management staging transformation, but it can be any SAS table. If the input source is a view and is not associated with a library, be sure to assign a libref to the view. A libref is a name that is associated with the physical name of a SAS library. You can issue a LIBNAME assignment, which associates a libref with a view, in the public code. You can also issue it as PRE-Code on the Aggregation transformation, or as pre-assigned libraries to the SAS session that runs the job.
  5. Right-click the aggregation image and, from the drop-down menu that is displayed, select Add Aggregation Table.
  6. Select the type of aggregation table that you want to create. (If you click Cancel on any page of an aggregation wizard, a confirmation dialog box is displayed. If you do not want to cancel, click No.)
    Note: You can create multiple summarized aggregation tables. The aggregation wizard provides a unique suffix for each table that is created.