20 Process Designer Window 4 Chapter 3The following steps describe one way to view or update the options in the Options window: 1 From the SAS Data Integration Studio desktop, select Too
Trang 120 Process Designer Window 4 Chapter 3
The following steps describe one way to view or update the options in the Options window:
1 From the SAS Data Integration Studio desktop, select Tools I Options to
display the Options window
2 Select the tab that contains the options that you want to view or update
Process Designer Window
Use the Process Designer window to perform these tasks:
3 Maintain the process flow diagram for the selected job
3 View or update the metadata for sources, targets, and transformations within the selected job
3 View or update the code that is generated for the entire selected job or for a transformation within that job
3 View a log that indicates whether code was successfully generated for the selected job or for one of its transformations (and was successfully executed, if the code was submitted for execution)
3 View any output that the selected job or one of its transformations sends to the SAS output window
The following display shows a typical view of this window
Display 3.6 Process Designer Window
In the previous display, the Process Designer window contains the process flow diagram for the Sort Staff job that is described in “Process Flows and Jobs” on page 6 Note that
the Process Editor tab is shown by default You might need to use the Options
Trang 2About the Main Windows and Wizards 4 Source Editor Tab 21
window to display the other tabs in the Process Designer window or to specify options for these tabs For details, see “Options Window” on page 19
The following steps describe one way to open an existing job in the Process Designer window:
1 From the SAS Data Integration Studio desktop, display the Inventory tree
2 In the Inventory tree, expand the Jobs group
3 Select the desired job, then select View I View Job from the menu bar The process flow diagram for the job displays in the Process Editor tab in the
Process Designer window
If the diagram is too large to view in the Process Editor tab, select ViewI
Overview from the menu bar A small image of the complete process flow diagram
displays in the Overview window
To change the size or the orientation of the process flow diagram, select ProcessI
Zoom or Process I Layout from the menu bar.
The tabs in the Process Designer window are described in the following sections To
display the online Help for each tab, select the tab and press the F1 key.
Process Editor Tab
Use the Process Editor tab to add and maintain a process flow diagram for the
selected job For a summary of how you can use the Process Editor to create a process flow diagram for a job, see “Main Tasks for Creating Process Flows” on page 96
Source Editor Tab
Use the Source Editor tab to view or modify SAS code for the selected job For example, if the Sort Staff job was displayed on the Process Editor tab, and you selected the Source Editor tab, code for the entire job would be generated and
displayed The following display shows some of the code that would be generated for the Sort Staff job
Trang 322 Log Tab 4 Chapter 3
Display 3.7 Source Editor Tab
Log Tab
Use the Log tab to view the SAS log that is returned from the code that was submitted for execution The Log tab can help you identify the cause of problems with the selected job or transformation For a summary of how you can use the Log tab, see
“Check the Log” on page 101 See also “Using SAS Logs to Analyze Process Flows” on page 189
Output Tab
Use the Output tab to view any printed output from a SAS program For example,
SAS Data Integration Studio jobs that produce reports can specify that the reports are
sent to the Output tab For an example of a job that sends output to the Output tab,
see “Example: Using a Generated Transformation in a Job” on page 174
Trang 4About the Main Windows and Wizards 4 Process Library 23
Process Library
The Process Library tree is one of the tabs in the tree view on the SAS Data
Integration Studio desktop If you select this tab, it displays a collection of transformation templates As shown in the following display, the templates are
organized into folders, such as Access, Analysis, Data Transforms, and Publish Display 3.8 Process Library Tree
Trang 524 Java Transformations and Generated Transformations 4 Chapter 3
A transformation template is a process flow diagram that includes drop zones for metadata that the user must supply to make the transformation complete A template typically consists of a transformation object and one or more drop zones for sources, targets, or both, as shown in the following display
Display 3.9 SAS Sort Transformation Template
There are several kinds of drop zones:
3 Dashed line boxes Before a template is populated with the minimum sources and targets, drop zones are indicated by dashed line boxes, as shown in the previous display
3 Lines between objects in a process flow diagram After a template is populated with the minimum sources and targets, drop zones are indicated by lines between objects in the process flow diagram, as shown in Display 3.6 on page 20
3 Transformation objects themselves Transformations that can take multiple inputs
or outputs have drop zones on the transformation itself
The SAS Sort template that is shown in the previous display could be used to create the diagram that is shown in Display 3.6 on page 20 For a summary of how you can use the Process Editor and the Process Library tree to create a process flow diagram for
a job, see “Creating, Running, and Verifying Jobs” on page 99
Java Transformations and Generated Transformations
The Process Library tree contains two different kinds of transformations: Java plug-in transformations and generated transformations (formerly called SAS code transformations)
Java plug-in transformations are created with the Java programming language
Examples include most of the default transformations in the Analysis folder, such as
SAS Sort and SAS Splitter
Generated transformations are created with the Transformation Generator wizard
Examples include the default transformations in the Output folder and the Publish
folder With the exception of the User-Written Code transformation, which is a Java