The
second stage contains the first loop job. The transformations in the
first loop job represent the subjob, which is the job that is run
in parallel. Each stream consists of a Clickstream Log transformation,
a Clickstream Parse transformation, and two checkpoints, which are
created by renaming the Return Code transformation and enable you
to configure how errors are processed.
The transformations
in this stage are described in the following table:
Loop One Transformations
|
|
Inputs from and Outputs
to
|
Loop 1 (Recognize and
Parse) transformation
|
Passes the appropriate
parameters through to the job flows that are executed in parallel.
Each parallel stream should have the following parameters set:
-
INPUTFILE is supplied by the FULLNAME
source column
-
OUTLIBPATH is supplied by the PARMLIBPATH
source column
-
INFILENUM is supplied by the FILENUM
source column
|
From: Set Output Library
(reused SAS Extract) transformation
To: Clickstream Log
transformation
To: Filter - Only properly
parsed logs (SAS Extract)
|
Clickstream Log transformation
|
Extracts data from a
single log for each pass through the loop; determines the raw Web
log type and creates a SAS DATA step View that is used to read the
raw data.
|
From: Loop 1 (Recognize
and Parse) transformation
To: Checkpoint - Can
we recognize the log? transformation
To: Clickstream Parse
transformation
|
Checkpoint - Can we
recognize the log? transformation
|
Evaluates the return
code from Clickstream Log; sends e-mail to specified address if the
log step fails.
|
From: Clickstream Log
transformation
To: Clickstream Parse
transformation
|
Clickstream Parse transformation
|
Parses this data and
generates n output tables,
where n is the number of groups
expected by the Sessionize loop (the second loop).
|
From: Checkpoint - Can
we recognize the log? transformation
To: Checkpoint - Parse
OK? transformation
|
Checkpoint - Parse OK?
transformation
|
Evaluates the return
code from Clickstream Parse; sends e-mail to specified address if
the parse step fails.
|
From: Clickstream Parse
transformation
To: Loop End transformation
|
|
Ends loop processing;
returns to beginning of loop
|
From: Checkpoint - Parse
OK? transformation
To: Filter - Only properly
parsed logs (reused SAS Extract) transformation
|
The following display
shows the first loop stage of the template job.
Loop 1 Process Flow