1. Trang chủ
  2. » Công Nghệ Thông Tin

SAS Data Integration Studio 3.3- P7 potx

5 265 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 537,62 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

To display examples that illustrate how the Process Library templates can be used in a SAS Data Integration Studio job, follow these steps: 1 From the SAS Data Integration Studio menu ba

Trang 1

About the Main Windows and Wizards 4 Source Editor Window 25

plug-in, all other templates in the Process Library that have the user-written icon are generated transformations

Generated transformations are unique in two ways:

3 When you right-click a generated transformation in the Process Library tree, the

pop-up menu has two unique options: Edit Source and Transformation Export.

3 You can easily add your own generated transformations to the Process Library tree, where you can drag and drop them into the process flow diagram for any job For details about the Transformation Generator wizard, see “Transformation

Generator Wizard” on page 34

Additional Information About the Process Library Transformations For a description of the standard transformations in the Process Library, see Appendix 1, “Standard Transformations in the Process Library,” on page 217

To display examples that illustrate how the Process Library templates can be used in

a SAS Data Integration Studio job, follow these steps:

1 From the SAS Data Integration Studio menu bar, select Help I Contents The

online Help window displays

2 In the left pane of the Help window, select Examples I Process Library Examples.

Source Editor Window

SAS Data Integration Studio also provides a Source Editor window that you can use

as a general-purpose SAS code editor Display 3.10 on page 25 shows an example of this window

Display 3.10 Source Editor Window

To display the Source Editor window, from the SAS Data Integration Studio desktop,

select Tools I Source Editor.

Trang 2

26 Table or External File Properties Window 4 Chapter 3

To submit code from the Source Editor, from the SAS Data Integration Studio

desktop, select Editor I Submit.

To display Help for this window, press the F1 key

Table or External File Properties Window

Use the properties window for a table or an external file to view or update the metadata for its columns and other attributes The following display shows a typical window

Display 3.11 Table Properties Window

The window shown in the previous display contains the metadata for the Staff Sorted table from “Process Flows and Jobs” on page 6 For a summary of how to use this window, see “Viewing Metadata for Tables and External Files” on page 112

Trang 3

About the Main Windows and Wizards 4 View Data Window 27

Transformation Properties Window

Use a transformation properties window to view or update the metadata for a process

in a job The metadata for a transformation specifies how SAS Data Integration Studio will generate code for the corresponding process The window for each kind of

transformation has one or more tabs that are unique to the corresponding process The following display shows a typical window

Display 3.12 Transformation Properties Window

The window shown in the previous display contains the metadata for the SAS Sort transformation from “Process Flows and Jobs” on page 6 Note that the rows in the output table for this transformation will be sorted by employee ID For a summary of how to use transformation property windows, see “Updating Metadata for

Transformations” on page 108 and “Viewing Metadata for Transformations” on page 113

View Data Window

In the tree views on the desktop, use the View Data window to display data in a SAS table or view, in an external file, or in a DBMS table or view that is part of a SAS library for DBMS data stores The table, view, or external file must be registered in a current metadata repository and must exist in physical storage

In the Process Designer window for a job, use the View Data window to display data

in the temporary output tables for a transformation In order for the temporary output tables to exist in physical storage, the transformation must be one of the

transformations that create temporary output tables, and the transformation must have been executed at least once

The View Data window typically uses the metadata for a data store to format the data for display Accordingly, the View Data window can be used to verify that the metadata for a data store is appropriate for use in the intended job If the window does not correctly display the data in the selected data store, then you might have to update the corresponding metadata before you use it in a job

Trang 4

28 View Data Window 4 Chapter 3

The following display shows a typical View Data window

Display 3.13 View Data Window

The title bar in the View Data window displays the name of the object that is being viewed, the range of rows that are being viewed, and the total number of rows The View Data window can display up to 100 rows of data at a time To go to the next 100 rows of data, click the double down-arrow in the lower-right corner of the window

If a column has a description, the description displays in the column header in the View Data window Otherwise, the physical name of the column displays in the column header A round icon to the left of the name indicates that the column is numeric, and a pyramid-shaped icon to the left of the name indicates that the column contains character data

To customize the data view displayed in the View Data window, right-click on a column name, row number, or table cell Then, select an appropriate option from the pop-up menu To display Help for the View Data window, press F1 See also “Viewing Data in Tables, External Files, or Temporary Output Tables” on page 110

Trang 5

About the Main Windows and Wizards 4 Overview of the Main Wizards 29

Overview of the Main Wizards

Several wizards are available from the shortcut bar or from the tools menu on the SAS Data Integration Studio desktop The next table describes the main wizards

Table 3.2 SAS Data Integration Studio Wizards

Calculated Members Enables you to add, edit, and delete the

calculated members associated with the cubes that are registered to a current metadata repository For more information, see the Help for this wizard.

Data Surveyors (optional) If installed, data surveyors access the data and

metadata in enterprise applications, such as the applications from vendors such as PeopleSoft, SAP R/3, Siebel, and Oracle For more information, see the Help for these wizards Export Job to File Enables you to export a selected job from the

Inventory tree, Custom tree, or Project tree to

an XML file One XML file is created for each job, and you can export multiple jobs at the same time For more information, see the Help for this wizard.

Import Cobol Copybook Use the Import COBOL Copybook feature to

create a COBOL format file from the COBOL copybook file Then use the Fixed-Width External File wizard to copy column metadata from the COBOL format file For more information, see the Help for this wizard.

Import Cube After you have exported the metadata for a SAS

OLAP cube, you can import this metadata and register it to a current repository For more information, see the Help for this wizard.

Job Import and Merge Imports SAS Data Integration Studio jobs that

were previously exported in XML format A job specifies a set of source tables, target tables, and processes You can export a SAS Data

Integration Studio job to an XML file, then use SAS Data Integration Studio to import the job into the same metadata repository or into a different repository As long as the two repositories specify the same libraries, tables, and database schemas, the imported job can be successfully executed in the new repository For more information, see the Help for this wizard.

Ngày đăng: 05/07/2014, 11:20