Hp Neoview Release 2.4 Software Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Hp Neoview Release 2.4 Software herunter. HP Neoview Release 2.4 Software User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Edition: Release 2.4

HP Neoview Transporter User GuideHP Part Number: 514030-001Published: April 2009Edition: Release 2.4

Seite 2

Neoview Customer LibraryThe manuals in the Neoview customer library are listed here for your convenience.• AdministrationInformation for database admi

Seite 3 - Table of Contents

Example A-13 Control File: NOAUDIT mode/*---------------------------------------------------------------------------------------*//* A Single Load Job

Seite 4 - 4 Table of Contents

Example A-14 Control File: Forcestaging Load with Multiple Job Entries in a Single Job/*--------------------------------------------------------------

Seite 5 - Table of Contents 5

source src2 target tgt1 map map1 source src3 target tgt1 map map1 )}102 Control File Examples

Seite 6 - 6 Table of Contents

Example A-15 Control File: Load From File to Table Using Subset of Source Columns*--------------------------------------------------------------------

Seite 7 - List of Tables

ADR_tgt = ADDRESS_src, ZP_tgt = ZIP_src, PH_tgt = PHONE_src, SOCIAL_tgt

Seite 8 - List of Examples

Example A-16 Control File: Load File to Table Without 1 to 1 Mapping/*-----------------------------------------------------*//* Simple Load From File

Seite 9 - About This Document

password = "dbt", datasource = "Admin_Load_DataSource", url

Seite 10 - Neoview Customer Library

B Control File Editor and Control File GeneratorThis chapter addresses the following topics:• The “Control File Editor ” (page 107)• The “Control File

Seite 11 - General Syntax Notation

If a control file is not syntactically correct, it opens in text mode only. Fix all syntax errors beforeviewing the file in GUI mode. See “Checking th

Seite 12

Switching Views in the Control File EditorYou can work in two views in the Control File Editor:• GUI view (default view)The GUI view assists you in cr

Seite 13 - Publishing History

Information about using Neoview Workload Management Services (WMS) tomanage workload and resources on a Neoview data warehousing platform.Neoview Work

Seite 14

—tablespecifies the table name or names to be used in generating a control file. If specified withouteither –schema or –cat, fully-qualify the table n

Seite 15 - 1 Overview

Restrictions for Delimited Table Names• For a list of tables, a delimited table name cannot end with a comma (,).• The schema part of a fully-qualifie

Seite 17 - Installing Transporter

C Global Options TableGlobal Transporter options that are specified in the Options section of the control file can beoverridden at other levels or sec

Seite 18

Table C-1 Global Options Table (continued)Can be overridden at these levelsThis OptionXX“url” (page 60)XX“user” (page 60)114 Global Options Table

Seite 19

D Reserved KeywordsTransporter Reserved KeywordsAll control file options and section identifiers are reserved in a control file.All keywords are case-

Seite 20 - The Transporter API

Table D-1 Reserved Keywords List (continued)Reserved Keywordsurlparallelstreamsexpressionusenullstringpasswordextractusernamepipefaileddatafileversion

Seite 21 - 3 Functions and Features

E Transporter Exit CodesTable E-1 Transporter Exit CodesErrorCode NumberSuccess0General failure.1NVTHOME environment variable is not defined or is inv

Seite 23 - 4 Security

Glossarycontrol file Input to Transporter. The control file specifies how you want to move data from source totarget.Control FileGeneratorA standalone

Seite 24

Italic LettersItalic letters, regardless of font, indicate variable items that you supply. Items not enclosedin brackets are required. For example:fil

Seite 26

IndexAautotran, description of, 49Bbaddatafile, description of, 49byteintegral data type, 48byteintintegral data type, 48Cchar[acter]character data ty

Seite 27

delimited format, 35fixed field definitions , 36fixed length format, 36SQL table format, 37dataformats control file section, 35datasource, description

Seite 28

Ssaving control filepackaging, 108security, 23of passwords, 23smallintintegral data type, 48sorted, description of, 58sources control file section, 43

Seite 30

ATTRIBUTE[S] attribute [, attribute]...{, sql-expression}...An ellipsis immediately following a single syntax item indicates that you can repeat thats

Seite 32 - — backslash (\\)

1 OverviewThe HP Neoview Transporter client provides a high-speed load and extract facility to move datato (load) and from (extract) the HP Neoview pl

Seite 33

• “Control File Generator” (page 109)• “Control File Editor ” (page 107)For detailed information see:“Control File Organization and Syntax” (page 25)“

Seite 34 - “%H:%M:%D:%S”

2 Installation and ConfigurationThis chapter addresses the following topics:• “Installation Requirements” (page 17)• “Installing Transporter” (page 17

Seite 35 - Dataformats

• export JAVA_HOME=/usr/java/jdk1.5.0_09• export PATH=/usr/java/jdk1.5.0_09/bin:$PATH• export JREHOME=/usr/java/jdk1.5.0_09/jreInstalling the Client U

Seite 36

Installing the Client Using CONSOLE ModeIf you do not have a GUI environment, or if you prefer a console-like installation, you can installTransporter

Seite 37

© Copyright 2009 Hewlett-Packard Development Company, L.P.Legal NoticeConfidential computer software. Valid license from HP required for possession, u

Seite 38 - WHERE T1.A = T2.A

These subdirectories are created in the NVTHOME directory:ContentsDirectoryLicense file, Transporter executable scripts, and Readme/Libraries, static

Seite 39

3 Functions and FeaturesIn addition to standard load and extract, Transporter provides support for these additionalfeatures and functions:• “Staging T

Seite 40

PrehashingTransporter streamlines the process for load operations with hash-partitioned tables by performinga pre-hashing operation on the client. For

Seite 41 - INFO = NULL

4 SecurityBecause load and extract jobs connect to databases and access password-protected resources, itis necessary for Transporter to keep track of

Seite 42

%NVTHOME%\utils\nvtencsrv -o installThe Encryption Utility — nvtencrsrvnvtencrsrv is a utility that installs the security directory and related files,

Seite 43

5 Control File Organization and SyntaxThe control file is a text file that tells Transporter how you want your data moved from sourceto target for eit

Seite 44

Table 5-1 Control File OrganizationOptionsControl File SectionN.A.“Version” (page 27)Global options for all Transporter jobs controlled by this file.•

Seite 45

Table 5-1 Control File Organization (continued)OptionsControl File SectionLocation of sources and targets for data.These global options can be overrid

Seite 46

versionnumberis the major version, followed by optional minor and patch versions. All version numbercomponents are separated by a period (.). Only the

Seite 47 - Comments

• “noaudit” (page 56)• “nullstring” (page 56)• “operation” (page 57)• “parallel” (page 57)• “parallelstreams” (page 57)• “password” (page 57)• “retrie

Seite 48 - Supported Data Types

Table of ContentsAbout This Document...9Intended

Seite 49 - 6 Control File Options

formatstringDefines the pattern for this field. For a load operation, formatstring tells Transporter howto interpret source file values. For an extrac

Seite 50 - 50 Control File Options

• Date/Time data typesUse a combination of the following patterns to a specify date or time format:— %bThe abbreviation for the month name in the curr

Seite 51

— backslash (\\)Period (.) is the only supported separator between integral and fractional seconds.32 Control File Organization and Syntax

Seite 52 - Encoding For An Extract Job

The following are defaults and examples:— Date values◦ Default: %C%y-%m-%d◦ Example: The input characters “2007–10–05” can be processed without a form

Seite 53

• Interval data typesInterval data types require a formatstring.There is no default for interval fields.These field specifiers are allowed:— For year-

Seite 54 - 54 Control File Options

Table 5-2 Typeformats: format_definition Date/Time Format String Examples (continued)ExampleDescription"%m/%d/%y %H:%M"Specify a formatstrin

Seite 55

optionally qualified by {' | "}Specifies a quoting character for each data field.For information, see “Quote Processing For Load Operations”

Seite 56 - 56 Control File Options

Dataformats: Neoview SQL Table Formatformatname sql fieldsfields-definitionformatnameThe name you create for this delimited dataformat. The name must

Seite 57

a matching name is found. Subsequent columns with the matching name are notaccessible within this dataformat.There are two workarounds for this proble

Seite 58 - 58 Control File Options

MapsThe maps section describes how one data format is mapped to another when data is moved fromsource to target.maps{map-definition [, map-definition

Seite 59

5 Control File Organization and Syntax...25Creating a Control File...

Seite 60 - 60 Control File Options

fieldname_target, fieldname_sourcefieldname_target and fieldname_source must refer to names defined in the sourcedataformat and target dataformat, res

Seite 61 - 7 Load and Extract Operations

Table 5-3 Datatype Mappings (continued)Can be Mapped to a Target Field of Type...Source Field of Type...any character typedatetimetimestamptimestampin

Seite 62 - Stopping the Client

Example:EMP_ID = identity loaderAsks the loader to generate a key for target field EMP_ID.scalar-expressionA simple expression composed of a fieldname

Seite 63 - Parallel Streams

The condition and update options are ignored for insert operations.The condition and update options cannot both be “true” for a field mapping unless i

Seite 64

sourcename pipe pipename [options source-options]Specifies a named pipe as the data source/target. pipename is the name of the pipe.sourcename { jdbc

Seite 65 - Requirements

table1 jdbc table "SQL"."MyTable"• Specify a source names “query1” to access an SQL join query:query1 jdbc sql "select * fro

Seite 66

JobsThe jobs section specifies a list of Transporter jobs. A job is a collection of job entries. Jobs areprocessed serially, one at a time. This secti

Seite 67

• “operation” (page 57)• “parallel” (page 57)• “rowsetsize” (page 58)• “truncate” (page 60)job-entry-listone or more occurrences of job-entry, separat

Seite 68

/*Your comment line 1Your Comment line 2...*/IncludeYou can include one or more control file fragments from other control files. A control file fragme

Seite 69 - 8 Data Processing

6 Control File Optionsautotranautotran = "true" | "false"The default is “false”.For a load operation: when this option is set to “

Seite 70 - Delimited Data

7 Load and Extract Operations ...61Steps for Performing Load and Extr

Seite 71 - Delimited Data 71

Applies only to date values in source records for a load operation. This option is ignored forextract operations.When a date value is to be interprete

Seite 72 - 72 Data Processing

NOTE: These values are advisory only. While this number can be considered a trigger forshutting down a job, Transporter continues to process data alre

Seite 73 - 9 Troubleshooting

TIP: The Transporter NVTHOME/utils directory contains these programs that you can compileand execute to display character set encodings:• CharsetsSupp

Seite 74 - Job Recovery

◦ ' (apostrophe)◦ ( (open parenthesis)◦ ) (close parenthesis)◦ * (asterisk)◦ + (plus sign)◦ , (comma)◦ - (hyphen)◦ . (period)◦ / (slash mark)◦ Th

Seite 75

NOTE: These values are advisory only. While this number can be considered a trigger forshutting down a job, Transporter continues to process data alre

Seite 76 - Control File Metadata Tables

• Each target table has its own staging table.• The names of staging tables are generated by Transporter and written to the Transporterlog.• Source ro

Seite 77

noauditnoaudit = "true" | "false"The default is false.For a load operation, this option specifies whether Transporter should use n

Seite 78

operationoperation = "insert" | "update" | "upsert" | "delete"The default is “insert”.For a load operation, th

Seite 79 - A Control File Examples

password specifies the password to use when connecting to a JDBC, ODBC, or JMS data source.• password specifies a plain-text password.• ${referencenam

Seite 80

For a load operation when a pipe is read, Transporter discards any records read until thestartseq record is seen. Transporter stops reading records on

Seite 81

Restrictions...107Pa

Seite 82

number_of_seconds can be zero or a positive integer.truncatetruncate = "true" | "false"The default is “false” (do not delete data

Seite 83

7 Load and Extract OperationsThe Transporter Client performs load and extract operations based on the content of a controlfile. This chapter addresses

Seite 84 - 84 Control File Examples

resubmitting it, and you want Transporter to perform recovery on the job. For more informationabout -recover, refer to “ The -recover Command Line Opt

Seite 85

The Transporter JobThe units that make up a control file are called jobs. A job is a load or extract operation consistingof several job entries.A job

Seite 86

• Set “parallelstreams” (page 57) = n• Set “multipart” (page 55) = trueCAUTION: If multipart = false, and parallelstreams is enabled, Transporter st

Seite 87

RequirementsThese are the requirements to use the Trickle Feed feature:• ActiveMQ (JMS provider), which is included with the Java client package• A se

Seite 88

• The set of targets (that you have set in the “Sources” (page 43) section) must be the samefor all sources in the job.• If multiple job entries speci

Seite 89

• Updates to primary key fields are not supported.• The condition map entry option defaults to true for all primary key columns.• The update map entry

Seite 91

8 Data ProcessingThis chapter addresses these topics:“Data For Load Operations” (page 69)“Processing Data for Load Operations” (page 69)“Delimited Dat

Seite 92 - 92 Control File Examples

List of Tables1-1 Transporter Client Software Components...162-1 GUI

Seite 93

Fixed—Width Data for Load OperationsTransporter addresses and processes a fixed—width input field as follows, in this order:1. If “nullstring” (page 5

Seite 94 - 94 Control File Examples

For Windows platforms: CR/LF (carriage return/line-feed)—— For Unix-like systems: LF (line feed)— For the Macintosh family: CR (carriage return)If mul

Seite 95

— To qualify by double-quotes (""):optionally qualified by "— To qualify by single-quotes (""):optionally qualified by '

Seite 96 - 96 Control File Examples

9 TroubleshootingThis section covers job recovery and solutions to problems you might encounter.• “Logs” (page 73)• “Job Recovery” (page 74)• “Job Sta

Seite 97

Example 9-1 Examples of Custom Log File Locationsto send log output hereUse this command/test/log/java/DBTransporter.log—DNVT.instance-log-dir=test/ho

Seite 98 - 98 Control File Examples

CAUTION:• You must use the original control file to recover load jobs. If the control file has changed,Transporter reports an error and exits.• The or

Seite 99

— Time for next retry operation if applicable— End time of the job entryControl File Metadata TablesYou can retrieve control file related data from th

Seite 100 - 100 Control File Examples

Example 9-5 Identify All Job Entries that Successfully Completed Within the Last Seven DaysSELECT B.FILE_HOST, B.FILE_ABS_PATH, B.FILE_MOD

Seite 101

Example 9-7 Identify All Jobs Executed From Host abc Using the Latest Version of Control File/home/control files/ControlFile.txtSELECT DISTINCT A.JOB_

Seite 102 - 102 Control File Examples

A Control File ExamplesControl File ExamplesFollowing are control file examples for:• Data types Example A-1 (page 80)• Extract from a Neoview SQL sou

Seite 103

List of Examples5-1 Supported Scalar Expressions ...

Seite 104 - 104 Control File Examples

Example A-1 Control File: Datatypes/* All Data Types */version 1;options { errors = 1000, discards = 500, rowsetsize = 1000}typeformats {# c

Seite 105

intv10 interval format intv_frmt_10, intv11 interval format intv_frmt_11, intv12 interval format intv_frmt_12, flot1 fl

Seite 106

tims1 = tims1, tims2 = tims2, intv00 = intv00, intv02 = intv02, intv03 = intv03, intv05 = intv05,

Seite 107 - Control File Editor

Example A-2 Control File: Extract From Neoview SQL Source/*----------------------------------------*//* Simple Extract From Neoview SQL Source To File

Seite 108 - Validating a Control File

LAST_NAME = LAST_NAME, ADDRESS = ADDRESS, ZIP = ZIP, PHONE = PHONE, INFO1 = INFO1, INFO2

Seite 109 - Control File Generator

Example A-3 Control File: Extract From Table Source to Named Pipe/*------------------------------------------------*//* Simple Extract From Table Sour

Seite 110 - Optional Arguments

{ extract1 extract options ( parallel = "false" ) ( source src1 target tgt1 map map1 )}86 Control File Examples

Seite 111 - Packaging

Example A-4 Control File: Load Fixed Width Data/* Load Fixed Width Data */version 1;options { errors = 1000, discards = 100, rowsetsize

Seite 112

LAST_NAME = LAST_NAME, ADDRESS = ADDRESS, ZIP = ZIP, PHONE = PHONE, SSN = SSN, INFO1

Seite 113 - C Global Options Table

Example A-5 Control File: Include Defining DataformatsYou can use an Include file such as this to define data formats for many control files. SeeExamp

Seite 114 - 114 Global Options Table

About This DocumentThis manual describes how to install and manage HP Neoview Transporter. This product providesprocesses and commands for loading dat

Seite 115 - D Reserved Keywords

Example A-6 Control File: Include — Load From File to Table/* Simple Load From File To Table Using INCLUDE To Include Control File Fragment (File 1/2)

Seite 116

Example A-7 Control File: Load and Extract/* Simple Load From File To Table & Extract From Neoview SQL Source To File */version 1.0;options{ er

Seite 117 - E Transporter Exit Codes

PHONE = PHONE, SSN = SSN, INFO1 = INFO1, INFO2 = INFO2 )map2 from dataformat2 to dataformat3 (

Seite 118

Example A-8 Control File: Multiple Dataformats and Maps/*-----------------------------*//* Multiple Dataformats & Maps *//*-----------------------

Seite 119 - Glossary

( system = "asl0101", user = "user", password = "transport", url

Seite 120

Example A-9 Control File: Reflexive Update/*-------------------------*//* Simple Reflexive Update *//*-------------------------*/version 1.0;options {

Seite 121

Example A-10 Control File: Update with Constant, NULL, or Expression/*--------------------------------*//* Constants, NULLs & Expressions *//*----

Seite 122 - 122 Index

load1 load options ( parallel= "false" ) ( source src1 target tgt1 map map1 )}97

Seite 123

Example A-11 Control File: Identity columnThis example of defines an IDENTITY column. CUSTOMER_NUMBER can be any numeric datatype (SMALLINT, INTEGER,

Seite 124

Example A-12 Control File: Usage of NULLSTRING/*--------------------------------*//* Usage of NULLSTRING */ /*-----------------------------

Kommentare zu diesen Handbüchern

Keine Kommentare