Extended Systems OneBridge 4.1 Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro Servery Extended Systems OneBridge 4.1. Extended Systems OneBridge 4.1 User`s guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 222
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - Sybase IQ ETL

User’s GuideSybase IQ ETL4.1

Strany 2 - October 2006

x Sybase IQ ETL 4.1

Strany 3 - Contents

Source components 86 Sybase IQ ETL 4.1PropertiesCharacter Encoding• Select a character set from the list.• Press Enter to confirm.Support UnicodeAct

Strany 4

CHAPTER 6 ComponentsUser’s Guide 87• Press Enter to confirm.Read column names from row• Enter the number of the line containing the column headings

Strany 5

Source components 88 Sybase IQ ETL 4.1Working with fixed-length file typeWhen a file has been qualified as fixed-length, the Add Column option in th

Strany 6

CHAPTER 6 ComponentsUser’s Guide 89You do not need to understand XML in detail to use this component. It is useful for data-centric XML documents (

Strany 7 - User’s Guide vii

Source components 90 Sybase IQ ETL 4.1DB SchemaSelect the file containing the database schema setup (create tables) script. Use this option to enfor

Strany 8

CHAPTER 6 ComponentsUser’s Guide 91<PRODUCTS><PR_ID>435673</PR_ID><PR_NAME>Notebook 235</PR_NAME><PR_GROUP1>Not

Strany 9 - User’s Guide ix

Source components 92 Sybase IQ ETL 4.1The tables are linked through foreign keys. Table TAB_PRODUCTS is linked to TAB_dataroot via attribute ATT_FK_

Strany 10 - Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 93Creating a SELECT statementYou can enter a SELECT statement for the port straight into the port field, or you ca

Strany 11 - About This Book

Transformation components 94 Sybase IQ ETL 4.1❖ To create a mapping1 Select the Graph tab of the component window.2 Map the IN-Port and Out-Port str

Strany 12 - Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 95❖ To simulate a single attribute1 Change the value of any attribute in the Current Input Record.2Press Enter. Th

Strany 13 - About This Book

About This BookUser’s Guide xiAbout This BookAudienceThis guide is for users of Sybase IQ ETL. Sybase IQ ETL provides extract, transform, and loa

Strany 14 - If you need help

Transformation components 96 Sybase IQ ETL 4.14 Right-click and select OUT or TMP.5 Select one of the attributes from the menu.The added attribute c

Strany 15

CHAPTER 6 ComponentsUser’s Guide 97You can freely change the mapping by re-connecting the lines to the connection points. Note After you apply a t

Strany 16 - Component concepts

Transformation components 98 Sybase IQ ETL 4.1Using lookups in the Data CalculatorThe Data Calculator can perform lookups on attribute level. The lo

Strany 17 - Customizing a project

CHAPTER 6 ComponentsUser’s Guide 99Building Lookup rulesTo set up Lookup rules open the Tabular Tab of the Data Calculator window. If Lookup ports

Strany 18 - Understanding repositories

Transformation components 100 Sybase IQ ETL 4.1❖ To set up required properties1 Add the component to the project and connect the ports of the compon

Strany 19 - CHAPTER 1 Sybase IQ ETL

CHAPTER 6 ComponentsUser’s Guide 101There is no impact on the simulation sequence.Using Lookup componentsIn general, a Lookup operation looks up a

Strany 20 - Internal database

Using Lookup components 102 Sybase IQ ETL 4.1Required propertiesKey AttributeSelect a Key Attribute from the list of IN-Port attributes. This attrib

Strany 21

CHAPTER 6 ComponentsUser’s Guide 103Use Key ValueIf Use Key Value is activated, the key value will be assigned to the value attribute instead of th

Strany 22 - 8 Sybase IQ ETL 4.1

Using Lookup components 104 Sybase IQ ETL 4.1• Schema• Standardize Data Format• Database OptionsThere is no impact on the simulation sequence.View P

Strany 23 - Sybase IQ ETL Development

CHAPTER 6 ComponentsUser’s Guide 105Enter the Connection Parameters as described in “Entering database connection parameters” on page 71.QueryTo op

Strany 24 - Using the Navigator

xii Sybase IQ ETL 4.1• Appendix C, “Queuing and Executing Process Calls”describes ProcessQ, which is an application that can queue and execute proce

Strany 25 - Administering the repository

Using Lookup components 106 Sybase IQ ETL 4.1For example, assume you want to replace the product number used for German products by the product numb

Strany 26

CHAPTER 6 ComponentsUser’s Guide 107Staging componentsDB Staging componentThe DB Staging component loads the incoming data streams into a staging a

Strany 27 - Administering user accounts

Staging components 108 Sybase IQ ETL 4.15 Right-click the component and select either Create Staging Table from Input or Create Staging Table from P

Strany 28 - Using the Properties section

CHAPTER 6 ComponentsUser’s Guide 109The DB Staging component impacts the flow of the simulation by first retrieving all data from the original data

Strany 29 - Using the Design section

Destination components 110 Sybase IQ ETL 4.1Customizing port conditionsA condition can be assigned to each port. A condition consists of one ore mor

Strany 30 - Adding components

CHAPTER 6 ComponentsUser’s Guide 111Use this component if you want to add all records from the IN-port of the component to a database table.❖ To us

Strany 31 - Customizing preferences

Destination components 112 Sybase IQ ETL 4.1Pre-processing SQLThis property provides one or more SQL statements to be executed during initialization

Strany 32

CHAPTER 6 ComponentsUser’s Guide 113DB Data Sink Update componentThis component updates records in a destination table based on a selected key. All

Strany 33 - User’s Guide 19

Destination components 114 Sybase IQ ETL 4.1Optional propertiesUpdate optionsClick Update Options to open the Update Options window. By default all

Strany 34 - 20 Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 115DB Data Sink Delete componentThis component removes records from the destination table that match the incoming

Strany 35 - Getting Started

About This BookUser’s Guide xiii3 Select a product.4 Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.Padlock i

Strany 36 - Creating your first project

Destination components 116 Sybase IQ ETL 4.1Post-processing SQLThis property provides one or more SQL statements to be executed when all components

Strany 37 - Adding a data sink

CHAPTER 6 ComponentsUser’s Guide 1174 Click Save to exit the component window.5 Connect the component with the OUT-Port of an adjacent component.6

Strany 38 - Adding a data calculator

Destination components 118 Sybase IQ ETL 4.1PropertiesCharacter EncodingSelect a character set from the drop-down list and press Enter to confirm.Ty

Strany 39 - Simulating the project

CHAPTER 6 ComponentsUser’s Guide 119AppendActivate this option to append the incoming data to an existing file. Header Enter text for a header to b

Strany 40 - 26 Sybase IQ ETL 4.1

Destination components 120 Sybase IQ ETL 4.1Optional propertiesTruncateActivate this option to remove all records from the destination index set whe

Strany 41 - Projects and Jobs

CHAPTER 6 ComponentsUser’s Guide 121• Database OptionsThere is no impact on the simulation sequence.There are no Projects in DemoRepository or Help

Strany 42 - Managing projects

Job components 122 Sybase IQ ETL 4.1Optional propertiesContinue on DB Write ErrorsIf you activate this option, project execution will continue even

Strany 43 - ❖ To simulate a project

CHAPTER 6 ComponentsUser’s Guide 123Multi-Project componentThis component is the visual representation of a project group within the job. It combin

Strany 44

Job components 124 Sybase IQ ETL 4.1Finish componentThis component visually represents the end of a successful job execution. Use it to mark the suc

Strany 45 - Viewing current mappings

User’s Guide 125APPENDIX AFunction ReferenceThis appendix provides a reference for the Sybase IQ ETL functions. Note Even if your original data is no

Strany 46 - Viewing a simulation flow

xiv Sybase IQ ETL 4.1If you need helpEach Sybase installation that has purchased a support contract has one or more designated people who are author

Strany 47 - User’s Guide 33

uAvg 126 Sybase IQ ETL 4.1Aggregation functionsuAvg Description Calculates and returns the average value of all input values.Syntax real uAvg(value,

Strany 48

APPENDIX A Function ReferenceUser’s Guide 127Parameters numeric valueA list of numeric arguments.Examples To find the highest value from a set of v

Strany 49 - User’s Guide 35

uBitXOr 128 Sybase IQ ETL 4.1uBitXOrDescription Calculates the bitwise Exclusive OR over all parameters given and returns the result.Syntax number u

Strany 50 - Managing jobs

APPENDIX A Function ReferenceUser’s Guide 129uIsAscending("2004-03-03", "2004-03-05", "2004-03-07") // returns 1uIsA

Strany 51 - Executing a job

ulsDescending 130 Sybase IQ ETL 4.1string format(optional)The format of the input date.Note Omitting the format parameter can slow down the functio

Strany 52 - Creating Jobs

APPENDIX A Function ReferenceUser’s Guide 131Parameters paramAn expression or value to investigate.Examples uIsInteger (“1”) // returns 1uIsInteg

Strany 53

uNot 132 Sybase IQ ETL 4.1Syntax number uIsNumber (params)ParametersparamsAn expression or value to investigate.Examples To check for a numeric valu

Strany 54 - Building a migration template

APPENDIX A Function ReferenceUser’s Guide 133uBase64EncodeDescription Decodes a string into a Base64 representation.Syntax string uBase64Encode(inp

Strany 55 - User’s Guide 41

uConvertDate 134 Sybase IQ ETL 4.1Table 6-1: Date Conversion identifiersSyntax string uConvertDate(datestring, inputformat [, outputformat])Paramete

Strany 56

APPENDIX A Function ReferenceUser’s Guide 135uFromHexDescription Converts a string of hexadecimal numbers into an integer.Syntax integer uFromHex (

Strany 57 - Managing a migration template

User’s Guide 1CHAPTER 1Sybase IQ ETLSybase IQ ETL architectureWhen you install Sybase IQ ETL on Windows, you install Sybase IQ ETL Development and Syb

Strany 58 - 44 Sybase IQ ETL 4.1

uHexEncode 136 Sybase IQ ETL 4.1uHexEncodeDescription Encodes every character of a string into its hexadecimal notationSyntax string uHexEncode(inpu

Strany 59 - Advanced Concepts and Tools

APPENDIX A Function ReferenceUser’s Guide 137uURIEncodeDescription Returns a new version of a complete URI, replacing each instance of certain char

Strany 60 - Using the Design area

uURIEncode 138 Sybase IQ ETL 4.1If no date is given, the time string now is assumed and the date is set to the current date and time.uDate() // retu

Strany 61 - Creating queries

APPENDIX A Function ReferenceUser’s Guide 139The “unixepoch” modifier (12) works only if it immediately follows a time string in the DDDD.DDDDD for

Strany 62 - Content Explorer

uDate 140 Sybase IQ ETL 4.1•The localtime() C function normally only works for years between 1970 and 2037. For dates outside this range, you can at

Strany 63 - User’s Guide 49

APPENDIX A Function ReferenceUser’s Guide 141uDateTimeDescription Returns year, month, and day from a date in the format YYYY-MM-DD HH:MM:SS.Note

Strany 64

uDayOfYear 142 Sybase IQ ETL 4.1uDayOfYearDescription Returns the number of days since the beginning of the year.Syntax string uDayOfYear([modifiers

Strany 65 - Evaluate property is

APPENDIX A Function ReferenceUser’s Guide 143uHour("now") // returns current quarteruHour("1969-03-13 10:22:23.231") // retu

Strany 66 - Including variables

uJuliandate 144 Sybase IQ ETL 4.1uJuliandateDescription Returns the number of days since noon in Greenwich on November 24, 4714 B.C. in the format D

Strany 67 - Using functions

APPENDIX A Function ReferenceUser’s Guide 145uMonthDescription Returns the month of the date specified.Syntax string uMonth([modifiers])Parameterss

Strany 68 - Entering SQL statements

Projects and jobs 2 Sybase IQ ETL 4.1Sybase ETL ServerThe Sybase ETL Server provides the GRID engine service, which, by default, processes desktop r

Strany 69 - Query designer

uSeconds 146 Sybase IQ ETL 4.1Parametersstring modifiers (optional)String specifying a date or date calculation. The default is the now modifier.Exa

Strany 70 - PRODUCT [uTracelevel(5)]

APPENDIX A Function ReferenceUser’s Guide 147Examples uTimeDiffMs("18:34:20”, “18:34:21”) // returns 1000 uTimeDiffMs("18:34:20”, “18:34:

Strany 71 - Features

uWeekdayName 148 Sybase IQ ETL 4.1uWeekdayNameDescription Returns the week name of the date specified in the current locale language. Note Refer to

Strany 72 - Edit and Debug mode

APPENDIX A Function ReferenceUser’s Guide 149To set the locale to English:uSetLocale("English")uWeekdayNameShort("1969-03-13 10:22:2

Strany 73 - ❖ To step to a Breakpoint

uErrortext 150 Sybase IQ ETL 4.1uErrortextDescription Returns the last error message. The error text will be internally cleared, so it can only be r

Strany 74 - Special JavaScript features

APPENDIX A Function ReferenceUser’s Guide 151uTraceDescription Writes a trace message into the log. The function returns the message written.Syntax

Strany 75

uFileInfo 152 Sybase IQ ETL 4.1File functionsuFileInfoDescription Returns information about a file. When uFileInfo is set to EXISTS the function ret

Strany 76

APPENDIX A Function ReferenceUser’s Guide 153integer bytes (optional)The number of bytes to read. The default is 0, which means the whole file.inte

Strany 77 - Analyzing performance data

uFormatDate 154 Sybase IQ ETL 4.1ExamplesTo write data to a file via CIFS:uFileWrite("hello", "//myServer/myShare/data/test.txt"

Strany 78

APPENDIX A Function ReferenceUser’s Guide 155Table 6-2: Format identifiersNote Refer to the “Working with Dates and Times” section for detailed in

Strany 79 - Example reports

CHAPTER 1 Sybase IQ ETLUser’s Guide 3Component variables and portsAll data within a project flow through component ports called IN-ports and OUT-po

Strany 80 - Project execution history

uGlob 156 Sybase IQ ETL 4.1Fuzzy search functionsuGlobDescription Compares values case sensitive and similar to uLike but uses the UNIX file globbin

Strany 81 - User’s Guide 67

APPENDIX A Function ReferenceUser’s Guide 157Parameters string patternA string describing a match pattern.string textA string to investigate.Exampl

Strany 82 - 68 Sybase IQ ETL 4.1

uFirstDifferent 158 Sybase IQ ETL 4.1string valuesList of values.Examples Example 1 IF construct:uChoice(0, "A", "B") // return

Strany 83 - Components

APPENDIX A Function ReferenceUser’s Guide 159uElementsDescription Returns the number of elements in a delimited string. If the second parameter is

Strany 84 - Setting required properties

uCommandLine 160 Sybase IQ ETL 4.1Miscellaneous functionsuCommandLineDescription Returns the command line string of the current process.Syntax strin

Strany 85 - Setting up a component

APPENDIX A Function ReferenceUser’s Guide 161Examples To create a unique identifier:uGuid() // returns for example A8A10D9F-963F-4914-8D6F-C8527A50

Strany 86 - Overview

uSet Locale 162 Sybase IQ ETL 4.1string valueThe value to setExamples uSetEnv(“LOAD_MAX_VALUE”, IN.Date) uSet LocaleDescription Changes the current

Strany 87

APPENDIX A Function ReferenceUser’s Guide 163Czech Czech “csy” or “czech”Danish Danish “dan”or “danish”Dutch Dutch (Belgian) “belgian”, “dutch-belg

Strany 88

uSet Locale 164 Sybase IQ ETL 4.1Country/Region StringsFollowing is a list of country/regions strings recognized by uSetLocale. The uSetLocaleString

Strany 89 - Creating a SQLite table

APPENDIX A Function ReferenceUser’s Guide 165uSleepDescription Suspends the process for a specified amount of milliseconds.Syntax string uSleep(mse

Strany 90

Understanding repositories 4 Sybase IQ ETL 4.1• To generate SELECT statements inside Queries, Lookup Definitions, Pre- and Post Processing SQL, use

Strany 91 - Encrypting properties

uSystemFolder 166 Sybase IQ ETL 4.1Parametersstring foldertype (optional)Specifies the folder to return. The default is “System”.Examples uSystemFol

Strany 92 - Data blocks and visualization

APPENDIX A Function ReferenceUser’s Guide 167Windows CDBURN_AREA The file system directory acting as a staging area for files waiting to be written

Strany 93 - Managing port structures

uSystemFolder 168 Sybase IQ ETL 4.1Windows COMMON_STARTMENU The file system directory that contains the programs and folders that appear on the Star

Strany 94

APPENDIX A Function ReferenceUser’s Guide 169Windows HISTORY The file system directory that serves as a common repository for Internet history item

Strany 95

uSystemFolder 170 Sybase IQ ETL 4.1Windows PERSONAL The virtual folder representing the My Documents desktop item. This is equivalent to MYDOCUMENTS

Strany 96

APPENDIX A Function ReferenceUser’s Guide 171Network functionsuHostnameDescription Returns the local network name.Syntax string uHostname()Examples

Strany 97 - DB Data Provider Index Load

uAbs 172 Sybase IQ ETL 4.1Numeric functionsuAbsDescription Returns the magnitude of a real number, ignoring its positive or negative sign.Note This

Strany 98

APPENDIX A Function ReferenceUser’s Guide 173uDivDescription Returns the division integer.Syntax number uDiv(value)Parametersnumber valueA number t

Strany 99 - Text Data Provider

uLn 174 Sybase IQ ETL 4.1uLnDescription Returns the natural logarithm (base E) of a number.Syntax number uLn(input);Parametersnumber valueA number t

Strany 100 - Properties

APPENDIX A Function ReferenceUser’s Guide 175uPow, uPowerDescription Returns the value of a base expression taken to a specified power.Syntax numbe

Strany 101 - CHAPTER 6 Components

CHAPTER 1 Sybase IQ ETLUser’s Guide 5Multiple repositories are accessible in parallel during a session. Projects can be copied and transferred betw

Strany 102 - XML via SQL Data Provider

uSgn 176 Sybase IQ ETL 4.1uRound(10.9) // returns "11"uRound(1.235, 2) // returns "1.24"uSgnDescription Returns the sign of a

Strany 103 - Optional properties

APPENDIX A Function ReferenceUser’s Guide 177Script functionsuEvaluateDescription Evaluates a function or Java Script expression and returns the re

Strany 104 - Source components

uChr, uUniChr 178 Sybase IQ ETL 4.1Parametersstring valueAn input string.number indexCharacter position for reading ASCII value.Examples To get a Un

Strany 105

APPENDIX A Function ReferenceUser’s Guide 179uCap(‘fArmeR, ASTROnaut’) // returns ‘Farmer, Astronaut’uCap(‘the first weekend’) // returns ‘The Firs

Strany 106

uLeft 180 Sybase IQ ETL 4.1returns "James-Tiberius-Kirk"uLeftDescription Returns the leftmost N characters from a stringSyntax string uLef

Strany 107 - Transformation components

APPENDIX A Function ReferenceUser’s Guide 181number positionThe position where to start reading.number lengthThe number of characters to read.Examp

Strany 108

uLStuff 182 Sybase IQ ETL 4.1uLStuffDescription Fills the left side of a string up to a specified length. By default, the string is stuffed with spa

Strany 109

APPENDIX A Function ReferenceUser’s Guide 183Syntax string uRepeat(input, repeats)Parametersstring inputThe string to be repeated.number repeatsThe

Strany 110

uRight 184 Sybase IQ ETL 4.1uRightDescription Returns the rightmost N characters from a string.Syntax string uRight(input, chars)Parametersstring in

Strany 111

APPENDIX A Function ReferenceUser’s Guide 185number lengthThe new length of the result string.string stuffstringThe string to append.Examples To ex

Strany 112

DOCUMENT ID: DC00608-01-0410-01LAST REVISED: October 2006Copyright © 2003-2006 by Sybase, Inc. All rights reserved.This publication pertains to Sybase

Strany 113 - Character Mapper

Tools 6 Sybase IQ ETL 4.1ToolsStructural and catalog information from all connected data sources is accessible through Sybase IQ ETL Development too

Strany 114

uUpper, uUpp 186 Sybase IQ ETL 4.1uTrim(" 3.5 ") // returns "3.5"uTrim("003.500", "0") // returns "3

Strany 115 - Using Lookup components

APPENDIX A Function ReferenceUser’s Guide 187Syntax number uNE(value1, value2)Parametersvalue1, value 2Numeric or string values to compare.Examples

Strany 116 - Required properties

uLT 188 Sybase IQ ETL 4.1uLTDescription Returns 1 if the first parameter is less than the second parameter and no parameter is NULL.Syntax number uL

Strany 117

APPENDIX A Function ReferenceUser’s Guide 189Syntax number uAcos(value)Parametersnumber value The input value.Examples Not available.uAsinDescripti

Strany 118 - DB Lookup Dynamic component

uSin 190 Sybase IQ ETL 4.1uSinDescription Returns the sine (in radians) of a number.Syntax number uSin(value)Parametersnumber valueThe input value.E

Strany 119

User’s Guide 191APPENDIX BSybase ETL ServerThe Sybase ETL Server is part of the Sybase IQ ETL product suite. It is the central component of the GRID a

Strany 120

GRID architecture 192 Sybase IQ ETL 4.1CommunicationThe server instances are using UDP broadcasts in order to inform other nodes about urgent events

Strany 121 - Staging components

APPENDIX B Sybase ETL ServerUser’s Guide 193Linux/Unix:GridNode.shGridNode.sh --port 5500Stop a serverYou can stop a server from the console if it

Strany 122

Troubleshooting 194 Sybase IQ ETL 4.1Remove System ServiceSyntaxGridNode.exe --removeWhen running as System Service, basic events (failures, success

Strany 123 - Processing components

APPENDIX B Sybase ETL ServerUser’s Guide 195Machine ID: 9TuH/ioF6Wt/Gig=File: customProduct: Sybase IQ ETLVersion: 4.1License: Enterprise EditionSt

Strany 124 - Destination components

CHAPTER 1 Sybase IQ ETLUser’s Guide 7• Implements most of SQL92. • A complete database is stored in a single disk file. • Database files can be fre

Strany 125

INI file settings 196 Sybase IQ ETL 4.1INI file settingsIn the etc directory of the product installation you will find INI files which you can use i

Strany 126

APPENDIX B Sybase ETL ServerUser’s Guide 197Default.iniGridNode.iniGroup Key Values Default DescriptionNetwork proxy host:port explorerexplorer Set

Strany 127 - DB Data Sink Update component

INI file settings 198 Sybase IQ ETL 4.1

Strany 128

User’s Guide 199APPENDIX CQueuing and Executing Process CallsProcessQ is an application that can queue and execute process calls parallel or in sequen

Strany 129 - DB Data Sink Delete component

Configuring ProcessQ calls 200 Sybase IQ ETL 4.1-ICustomized ID for exclusion.-W nWindow style; see “Controlling the appearance of a new process” on

Strany 130 - Text Data Sink

APPENDIX C Queuing and Executing Process CallsUser’s Guide 201Controlling the appearance of a new processBy providing a Window Style with the -W op

Strany 131

Controlling the appearance of a new process 202 Sybase IQ ETL 4.110 SHOWDEFAULT Sets the show state based on the value specified in the STARTUPINFO

Strany 132

User’s Guide 203Aaggregation functionsuAVg 126uMax 126uMin 126architectureGRID 191IQ ETL 1Bbit functionsuBitAnd 127uBitNot 128uBitOr 127uBitXOr 128bo

Strany 133

Index204 Sybase IQ ETL 4.1adding to a project 24data formatsconverting 5data provideradding to a project 22data sinkadding to a project 23setting p

Strany 134

IndexUser’s Guide 205Ffatal.log 49file functionsuFileInfo 152uFileRead 152uFileWrite 153Finish component 124formatting functionsuFormatDate 154functi

Strany 135 - Job components

Internal database 8 Sybase IQ ETL 4.1

Strany 136 - Synchronizer component

Index206 Sybase IQ ETL 4.1DB Lookup 101DB Lookup Dynamic 104lookup functionsuChoice 157uElements 159uFirstDifferent 158uFirstNotNull 158uToken 159Mm

Strany 137 - Multi-Project component

IndexUser’s Guide 207adding a data sink 23controlling multiple data streams 35copying a project 28creating a project 27creating data transformatio

Strany 138 - Error component

Index208 Sybase IQ ETL 4.1uRepeat 182uReplace 183uReverse 183uRight 184uRPos 184uRStuff 184uRTrim 185uSubstr, uMid 180uTrim 185uUpper, uUpp 186Struc

Strany 139 - Function Reference

User’s Guide 9CHAPTER 2Sybase IQ ETL Development DesktopDesktop layoutThe Sybase IQ ETL Development desktop consists of the following major sections:•

Strany 140 - Aggregation functions

Using the Navigator 10 Sybase IQ ETL 4.1Figure 2-1: Sybase IQ ETL Development desktopUsing the NavigatorThe following objects and functions are avai

Strany 141 - Bit functions

CHAPTER 2 Sybase IQ ETL Development DesktopUser’s Guide 11Administering the repositoryA Sybase IQ ETL repository is a collection of tables that sav

Strany 142 - Boolean functions

Using the Navigator 12 Sybase IQ ETL 4.12 Enter a client user name.3 Enter a password.4 Select the Register New check box. 5 If the client user is e

Strany 143

CHAPTER 2 Sybase IQ ETL Development DesktopUser’s Guide 13Administering user accountsWith the built-in user account administration in Sybase IQ ETL

Strany 144 - Sybase IQ ETL 4.1

Using the Properties section 14 Sybase IQ ETL 4.1Using the Properties sectionThe Properties section contains information and functions that let you:

Strany 145 - 1 if the parameter is null

CHAPTER 2 Sybase IQ ETL Development DesktopUser’s Guide 152 Right-click in the Properties section to open a pop-up menu.3 Select Edit and enter the

Strany 146 - Conversion functions

ContentsUser’s Guide iiiAbout This Book...

Strany 147

Using the Component Store section 16 Sybase IQ ETL 4.1• Simulate and run projects• Run jobsTo create a project or job, you must add and connect comp

Strany 148

CHAPTER 2 Sybase IQ ETL Development DesktopUser’s Guide 17• Drag and drop the component to an empty spot or to an existing connection in the Design

Strany 149

Customizing preferences 18 Sybase IQ ETL 4.1• Create new project on startup — specify whether to automatically start a new project each time you sta

Strany 150

CHAPTER 2 Sybase IQ ETL Development DesktopUser’s Guide 19• Grid Engine Server —specify the IP address of the primary GRID engine server. • Grid En

Strany 151 - Date and time functions

Customizing preferences 20 Sybase IQ ETL 4.1

Strany 152

User’s Guide 21CHAPTER 3Getting StartedStarting Sybase IQ ETL Development❖ To start Sybase IQ ETL Development1 Double-click the Sybase IQ ETL Developm

Strany 153

Creating your first project 22 Sybase IQ ETL 4.15 Select an existing project, or right-click on Projects to create a new project. Creating your firs

Strany 154 - now modifier

CHAPTER 3 Getting StartedUser’s Guide 232 Select ETLDEMO_US from the Host Name drop-down list.After you confirm the initial component settings, the

Strany 155

Creating your first project 24 Sybase IQ ETL 4.1Your project should now consist of two components. The link between the components had been created

Strany 156

CHAPTER 3 Getting StartedUser’s Guide 25The Data Calculator window has a Tabular and Graph view:•Use the Tabular view to enter transformation rules

Strany 157

ContentsivSybase IQ ETL 4.1Using the pop-up menu to process commands... 16Using the Component Store section ...

Strany 158

Simulating the project 26 Sybase IQ ETL 4.1

Strany 159

User’s Guide 27CHAPTER 4Projects and JobsManaging projectsProjects are the working units of Sybase IQ ETL. A project consists of components and links,

Strany 160

Managing projects 28 Sybase IQ ETL 4.12 Drag components from the Component Store onto the Design section as your project requires it.Executing a pro

Strany 161

CHAPTER 4 Projects and JobsUser’s Guide 29Simulating and executing a projectSimulating a project is a highly interactive process that lets you moni

Strany 162

Simulating and executing a project 30 Sybase IQ ETL 4.1• All data for all static Lookup components are retrieved and cached. Any change of data in l

Strany 163 - Errorhandling functions

CHAPTER 4 Projects and JobsUser’s Guide 31Viewing current mappingsThe Mapping Definition window shows the current mapping between attributes of the

Strany 164

Simulating and executing a project 32 Sybase IQ ETL 4.1Managing port attributesThe Structure Viewer is available at the port of a component. You can

Strany 165

CHAPTER 4 Projects and JobsUser’s Guide 33The number of records being processed within each single step is dependent on the current value of Read B

Strany 166 - File functions

Simulating and executing a project 34 Sybase IQ ETL 4.1To resume simulation from the selected component, select Step from the pop-up menu. To resume

Strany 167

CHAPTER 4 Projects and JobsUser’s Guide 35Partial execution or initialization during simulationIt is extremely time consuming to start the entire s

Strany 168 - Formatting functions

ContentsUser’s Guide vUsing multiple engines to reduce job execution time... 61Defining multi-engine jobs...

Strany 169

Managing jobs 36 Sybase IQ ETL 4.1If you have multiple data streams it is highly advisable to design a project for each data stream so that all comp

Strany 170 - Fuzzy search functions

CHAPTER 4 Projects and JobsUser’s Guide 37A Start component is always followed by one or multiple Project components. Figure 4-3: A Job with multip

Strany 171 - Lookup functions

Managing jobs 38 Sybase IQ ETL 4.1• Stop: The stop date and time.• Engine Name: The name of the executing engine.• Engine Host: The host of the exec

Strany 172 - IF construct:

CHAPTER 4 Projects and JobsUser’s Guide 39Copying a jobTo copy a job to a specified destination, open it and select Save As from the File menu.Note

Strany 173

Using templates to create projects and jobs 40 Sybase IQ ETL 4.1Using templates to create projects and jobsTemplates provide a way to automatically

Strany 174 - Miscellaneous functions

CHAPTER 4 Projects and JobsUser’s Guide 41Stage properties — Enter the general part for the Load Stage properties of the DB Bulk Load IQ component

Strany 175

Using templates to create projects and jobs 42 Sybase IQ ETL 4.1Select Truncate to remove all records from the destination table before loading. Thi

Strany 176

CHAPTER 4 Projects and JobsUser’s Guide 43To finish collecting data and perform the selected tasks, click Finish.Note Please ensure that you selec

Strany 177

Using templates to create projects and jobs 44 Sybase IQ ETL 4.1Creating a data model from a templateTo set up the destination data model according

Strany 178

User’s Guide 45CHAPTER 5Advanced Concepts and ToolsContent ExplorerContent Explorer consists of a menu, a toolbar, a SQL structure area, a Navigation

Strany 179

ContentsviSybase IQ ETL 4.1Project component ... 121Synchronizer component...

Strany 180 - 166 Sybase IQ ETL 4.1

Content Explorer 46 Sybase IQ ETL 4.1The examples in this chapter open the project Demo Getting Started from the Demo Repository.Opening Content Exp

Strany 181

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 47Creating queriesThe Content Explorer allows you to create queries in a convenient graphical env

Strany 182 - 168 Sybase IQ ETL 4.1

Content Explorer 48 Sybase IQ ETL 4.1❖ To modify the default setting of a joinA join between two tables is indicated by a line that connects the joi

Strany 183

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 49Inspecting log file informationThe File Log Inspector window allows you to inspect log file inf

Strany 184 - 170 Sybase IQ ETL 4.1

Managing jobs and scheduled tasks 50 Sybase IQ ETL 4.1To open Runtime Manager, select Tools | Runtime Manager.❖ To create a new schedule1 Create a n

Strany 185 - Network functions

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 51Job execution state codes in the Task Scheduler are shown in the following table.Table 5-1: Job

Strany 186 - Numeric functions

Customizing SQL and transformation rules 52 Sybase IQ ETL 4.1Using expressions and proceduresAn expression is a combination of identifiers and opera

Strany 187

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 53Port variablesThe values of the port structure are referenced as Port variables within a compon

Strany 188

Customizing SQL and transformation rules 54 Sybase IQ ETL 4.1Using Square Bracket NotationExpressions and SQL statements can contain SBN expressions

Strany 189

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 55From the Query window you can:• Enter a query• Run a query• Save a query• Open the Query Design

Strany 190

User’s Guide viiuMonthNameShort ... 145uSeconds...

Strany 191 - String functions

Customizing SQL and transformation rules 56 Sybase IQ ETL 4.1SELECT * FROM CUSTOMERS WHERE CU_NO = '12345678'With SBN you can use a more f

Strany 192

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 57The following examples show pre-processing and post-processing SQL:delete from products;update

Strany 193

Customizing SQL and transformation rules 58 Sybase IQ ETL 4.1Starting the JavaScript Editor and DebuggerWithin the Data Calculator JavaScript compon

Strany 194

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 59To validate JavaScript code, click Compile. The result of the validation is displayed in the Ta

Strany 195

Customizing SQL and transformation rules 60 Sybase IQ ETL 4.12 Click Go on the last breakpoint to execute the rest of the script.Inline inspection o

Strany 196

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 61function IncA (a){var b = 3;a = IncB(b) + a++;return a;function IncB(b){b = b + 1;return b;}}Co

Strany 197

Using multiple engines to reduce job execution time 62 Sybase IQ ETL 4.1• Install multiple GRID engines• Register your GRID engines• Prepare jobs fo

Strany 198

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 632 Overwrite the current values with new values.3 Click OK.❖ To delete an engine registration• S

Strany 199

Analyzing performance data 64 Sybase IQ ETL 4.1Performance data model and contentThe performance data is stored in a single, de-normalized, reposito

Strany 200 - Operator functions

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 65General informationEach execution of project or job is identified by a global unique ID. You wi

Strany 201

viii Sybase IQ ETL 4.1uPow, uPower ... 175uRandom...

Strany 202 - Trigonometric functions

Analyzing performance data 66 Sybase IQ ETL 4.1Project execution historyFigure 5-1: Example of a project execution history report

Strany 203

CHAPTER 5 Advanced Concepts and ToolsUser’s Guide 67Project execution time and records movedTabular Figure 5-2: Example of a tabular report capturi

Strany 204

Analyzing performance data 68 Sybase IQ ETL 4.1

Strany 205 - Sybase ETL Server

User’s Guide 69CHAPTER 6ComponentsOverviewThe Sybase IQ ETL components are used to create projects and jobs. (See Chapter 4, “Projects and Jobs.”) The

Strany 206 - GRID Engine Server

Overview 70 Sybase IQ ETL 4.1Transformation components, Lookup components, and Staging components have at least one IN-port and one OUT-port and app

Strany 207 - Install as a System Service

CHAPTER 6 ComponentsUser’s Guide 71Setting up a componentEach component is dedicated to a specific task and therefore incorporates task-specific fe

Strany 208 - Troubleshooting

Overview 72 Sybase IQ ETL 4.1• ODBC Note The ODBC driver must be installed on the same machine as Sybase IQ ETL Development desktop and a system da

Strany 209 - Command line parameters

CHAPTER 6 ComponentsUser’s Guide 73DB Option Default DescriptionShow error location 1 1 = yes 0 = noDatabase errors will include the position of th

Strany 210 - INI file settings

Overview 74 Sybase IQ ETL 4.19 Set the Read Block Size. The Read Block Size option defines the number of records retrieved by the component within i

Strany 211 - GridNode.ini

CHAPTER 6 ComponentsUser’s Guide 75One or more SQL statements can be executed when all components finished processing the project. Note When using

Strany 212 - 198 Sybase IQ ETL 4.1

User’s Guide ixGRID Engine Server... 192GRID Engine Server as Windows System Service...

Strany 213 - Process Calls

Overview 76 Sybase IQ ETL 4.1You can use the Content Explorer from the Tools menu to manipulate or browse objects of the SQLite database connected t

Strany 214 - Configuring ProcessQ calls

CHAPTER 6 ComponentsUser’s Guide 77❖ To edit a component variable1 Right-click the component variable in the Property section to open the pop-up me

Strany 215

Overview 78 Sybase IQ ETL 4.1Modifying componentsTo initialize a component, right-click it and select Initialize or select Initialize and Step from

Strany 216 - 202 Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 79When stepping the component repetitively, the same set of records at the IN-port are reprocessed in each step an

Strany 217

Overview 80 Sybase IQ ETL 4.13 Click Save to confirm.❖ To delete an attribute from the port1 Click the line containing the attribute.2 Click Delete.

Strany 218 - 204 Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 81In Display structure mode, all attributes of the connected port and their current mappings are shown. The Displa

Strany 219

Source components 82 Sybase IQ ETL 4.1SELECT A.CU_NO, A.CU_NAME, A.CU_CITY, B.SA_ORDERDATE, B.SA_TOTALFROM CUSTOMERS A, SALES BWHERE A.CU_NO = B.CU_

Strany 220 - 206 Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 83• Database• Schema• Database optionsImpact on simulation sequenceRead Block Size value impacts the number of rec

Strany 221

Source components 84 Sybase IQ ETL 4.13 Select an attribute with values that increase whenever data is changed or added to the source, such as an au

Strany 222 - 208 Sybase IQ ETL 4.1

CHAPTER 6 ComponentsUser’s Guide 85• Post-processing SQL — One or more SQL statements to be executed after all components finished execution. See “

Komentáře k této Příručce

Žádné komentáře