26
DataStage Essentials Designer Module Server Edition

DataStage Designer

Embed Size (px)

Citation preview

Page 1: DataStage Designer

DataStage EssentialsDataStage Essentials

Designer ModuleServer Edition

Page 2: DataStage Designer

2

 This document and the software described herein are the property of Ascential Software Corporation and its licensors and contain confidential trade secrets. All rights to this publication are reserved. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system or translated into any language, in any form or by any means, without prior permission from Ascential Software Corporation. Copyright © 2003 Ascential Software Corporation. All rights Reserved Ascential Software Corporation reserves the right to make changes to this document and the software described herein at any time and without notice. No warranty is expressed or implied other than any contained in the terms and conditions of sale. 

Ascential Software Corporation50 Washington Street

Westboro, MA 01581-1021 USAPhone: (508) 366-3888

Fax: (508) 366-3669 

Ascential, DataStage, INTEGRITY, MetaRecon, MetaStage and MetaBroker are trademarks of Ascential Software Corporation. Pick is a registered trademark of Pick Systems. Ascential Software is not a licensee of Pick Systems. Other trademarks and registered trademarks are the property of the respective trademark holder.

 02-25-2003  

Page 3: DataStage Designer

3© 2003 Ascential Software Corporation. All rights reserved.

Module ObjectivesModule Objectives

Upon module completion, students will be able to:

• Customize the Designer’s layout and palette

• Create jobs and containers

• Create and use parameters within jobs

• Insert and link stages

• Use editing features for creating jobs and containers

• Set stage and job properties

• Load and save table definitions

• Save and compile jobs

• Run jobs from within the Designer

Page 4: DataStage Designer

4© 2003 Ascential Software Corporation. All rights reserved.

Logging InLogging In

Enter your operating system username and password

Enter the hostname or IP address of the server where DataStage is installed

The Designer Login Dialog Box

Select the project to attach to

Page 5: DataStage Designer

5© 2003 Ascential Software Corporation. All rights reserved.

Customizing the LayoutCustomizing the Layout

Canvas (resize or maximize)

Palette (resize or anchor)

Repository (resize or anchor)

Property Browser (resize or anchor)

Standard (resize or anchor)

Page 6: DataStage Designer

6© 2003 Ascential Software Corporation. All rights reserved.

The Standard ToolbarThe Standard Toolbar

Make new

Open

Save current

job

Save all open jobs

Help

Undo/redo

Compile

Run

Show / hide link markers

Zoom in/out

Create local/shared

containers

Cut/ Copy/ Paste

Snap stages to grid

Show/hide grid

Show/hide annotationsJob

properties

Print canvas

Page 7: DataStage Designer

7© 2003 Ascential Software Corporation. All rights reserved.

The Debug ToolbarThe Debug Toolbar

Stop debug

Begin debug

Step through

by link

Step through by row

Select job to debug

Edit job properties

Edit breakpoints

Open debug window

View job log

Clear all breakpoints

Toggle breakpoint

Page 8: DataStage Designer

8© 2003 Ascential Software Corporation. All rights reserved.

The PaletteThe Palette

Multiple stages may be available under certain stage types

Stages can be shown as small or large icons and with or without text labels

Groups can be added, deleted, or renamed, and can be hidden

Page 9: DataStage Designer

9© 2003 Ascential Software Corporation. All rights reserved.

Customizing the PaletteCustomizing the Palette

All available stages; server and sequence

Repository items; current view of all available objects

Click and drag items from left panes to folders in right pane

Move selected folders up and down to reorder categories

Delete selected items using delete key

Page 10: DataStage Designer

10© 2003 Ascential Software Corporation. All rights reserved.

The Repository and Property Browser Windows

The Repository and Property Browser Windows

Categories of objects in the current project’s repository—any of them can be hidden

Current stage’s type — not present

for linksStage or link name—can be modified here or on the canvas

Stage or link description—directly modifies the description field in the stage or input/output link

Page 11: DataStage Designer

11© 2003 Ascential Software Corporation. All rights reserved.

Setting Program Options Setting Program Options

Selected categories that can modify the appearance or functionality of the Designer

Available options to set for each category

Page 12: DataStage Designer

12© 2003 Ascential Software Corporation. All rights reserved.

Creating New Jobs or ContainersCreating New Jobs or Containers

Page 13: DataStage Designer

13© 2003 Ascential Software Corporation. All rights reserved.

Setting General Job PropertiesSetting General Job Properties

Page 14: DataStage Designer

14© 2003 Ascential Software Corporation. All rights reserved.

Creating and Using ParametersCreating and Using Parameters

Page 15: DataStage Designer

15© 2003 Ascential Software Corporation. All rights reserved.

Inserting Job Control LanguageInserting Job Control Language

Page 16: DataStage Designer

16© 2003 Ascential Software Corporation. All rights reserved.

Setting Performance OptionsSetting Performance Options

Page 17: DataStage Designer

17© 2003 Ascential Software Corporation. All rights reserved.

Inserting StagesInserting Stages

Click on stage then on canvas or drag and drop stage on canvas

Click on sizers to resize stage

Page 18: DataStage Designer

18© 2003 Ascential Software Corporation. All rights reserved.

Linking StagesLinking Stages

Use link tool to link stages together

Cursor changes when linking stages together

Page 19: DataStage Designer

19© 2003 Ascential Software Corporation. All rights reserved.

Setting Properties in StagesSetting Properties in Stages

Double click stage or right click and select Properties to edit stage properties

Page 20: DataStage Designer

20© 2003 Ascential Software Corporation. All rights reserved.

Inserting Metadata into StagesInserting Metadata into Stages

Click in cells to enter values or select from drop-down lists

Click Load button to select Table Definition from repository

Import new table definitions on the fly, if necessary

Page 21: DataStage Designer

21© 2003 Ascential Software Corporation. All rights reserved.

Saving Metadata in StagesSaving Metadata in Stages

Click Save button to save current table definition in repository

Enter values for repository Table Definition Category names

Page 22: DataStage Designer

22© 2003 Ascential Software Corporation. All rights reserved.

Cut, Copy and Paste FeaturesCut, Copy and Paste Features

Select items to copy and Copy from Edit menu, then Paste into current or other job or container

When items are pasted, the stage and link names are updated to avoid duplicate names

Page 23: DataStage Designer

23© 2003 Ascential Software Corporation. All rights reserved.

Saving Jobs and ContainersSaving Jobs and Containers

Job names are case-sensitive and must be unique

Categories and sub-categories can be entered manually by separating them with a backslash ( \ )

Page 24: DataStage Designer

24© 2003 Ascential Software Corporation. All rights reserved.

Compiling JobsCompiling Jobs

Messages from compilation—this is the desired result!

Page 25: DataStage Designer

25© 2003 Ascential Software Corporation. All rights reserved.

Multiple Job CompileMultiple Job Compile

Select job types to compile

Only shows uncompiled jobs Select jobs from

the job list and ‘Add’

Page 26: DataStage Designer

26© 2003 Ascential Software Corporation. All rights reserved.

Running Jobs within DesignerRunning Jobs within Designer

Click Run from toolbar

Set any job run options