Alternate Methods for Informatica Metadata Exchange SDK

Size: px
Start display at page:

Download "Alternate Methods for Informatica Metadata Exchange SDK"

Transcription

1 Alternate Methods for Informatica Metadata Exchange SDK Informatica Metadata Exchange SDK provides a set of COM-based APIs for exchanging metadata with the PowerCenter repository. You can also use this SDK to write or update source and target definitions in the repository. However, Metadata Exchange SDK has several limitations. For example, SDK is limited to the Windows platform. Also, you can only update source and target definitions. Effective in version 8.5, Informatica Metadata Exchange SDK is no longer supported. If you have applications created using Metadata Exchange SDK, you must modify them to avoid receiving error messages. Use the following alternate methods to obtain the same results as Metadata Exchange SDK: pmrep command line program MX views Java Mapping Framework pmrep Command Line Program pmrep is a command line program that you use to update repository information and perform repository functions. pmrep is installed in the PowerCenter Client and PowerCenter Services bin directories. You can use pmrep to perform repository administration tasks such as listing repository objects, ing objects from an XML file, or exporting objects to an XML file in the PowerCenter repository. For example, complete the following steps to objects into the repository: 1. Connect to the repository. Use pmrep Connect to connect to the repository. 2. List objects in the repository. Use pmrep ListObjects to list repository objects such as sources, targets, folders, labels, and tasks. 3. Import objects into the repository. Use pmrep ObjectImport to objects from an XML file. For more information about using pmrep, see the PowerCenter Command-Line Reference. MX Views PowerCenter Metadata Exchange (MX) provides a set of relational views that allow easy SQL access to the PowerCenter metadata repository. MX views provide information to help you analyze metadata stored in the repository. For example, if a source table changes, and you need to re- the source definition into the repository, you can use the REP_SRC_MAPPING view to see how many mappings include this source. Query this view by MAPPING_NAME and VERSION_NAME. A 1

2 mapping might contain several sources. This view contains the mapping names defined for an individual source table. Table 1-1 lists mapping source metadata in the REP_SRC_MAPPING view: Table 1-1. REP_SRC_MAPPING MX View Column Name Datatype Description SOURCE_NAME VARCHAR2 (240) Name of the source. SOURCE_ID NUMBER Source ID. SRC_BUSNAME VARCHAR2 (240) Business name of source table. SUBJECT_AREA VARCHAR2 (240) Folder name. SUBJECT_ID NUMBER Folder ID. MAPPING_NAME VARCHAR2 (240) Mapping name. MAPPING_ID NUMBER Mapping ID. VERSION_ID INTEGER Folder version ID. VERSION_NAME VARCHAR2 (240) Folder version name. MAPPING_COMMENT VARCHAR2 (2000) Mapping comment. MAPPING_LAST_SAVED VARCHAR2 (30) Time the mapping was last saved. MAPPING_VERSION_NUMBER NUMBER Mapping version number. SOURCE_VERSION_NUMBER NUMBER Source version number. Use the fields in bold to join views. With MX software and support from Informatica, vendors of popular query and reporting tools can quickly create a metadata link between their products and the PowerCenter repository. For more information about using MX views, see the PowerCenter Repository Guide. Java Mapping Framework Java Mapping Framework provides a java-based API that allows you to create and edit repository objects. Example 1 - List Repository Objects Use the following code to list objects in the PowerCenter repository: * ListObjects.java Created on Jan, * Copyright (c) 2008 Informatica Corporation. All rights reserved. * INFORMATICA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 2

3 package com.informatica.powercenter.sdk.mapfwk.samples; java.io.ioexception; java.io.inputstream; java.util.properties; java.util.vector; com.informatica.powercenter.sdk.mapfwk.core.folder; com.informatica.powercenter.sdk.mapfwk.core.namefilter; com.informatica.powercenter.sdk.mapfwk.core.repopropsconstant; com.informatica.powercenter.sdk.mapfwk.core.repository; com.informatica.powercenter.sdk.mapfwk.core.transformation; com.informatica.powercenter.sdk.mapfwk.core.mapping; com.informatica.powercenter.sdk.mapfwk.core.source; com.informatica.powercenter.sdk.mapfwk.core.target; com.informatica.powercenter.sdk.mapfwk.reputils.repositoryconnectionmana ger; com.informatica.powercenter.sdk.mapfwk.util.pmrepwrap.pmreprepositorycon nectionmanager; * This example is to list all sources, targets and mapping names in a given folder of a repository public class ListObjects { // Instance variables protected Repository rep; protected String mapfilename; protected Transformation rank; protected void createrepository() { rep = new Repository( "PowerCenter", "PowerCenter", "This repository contains API test samples" ); * Initialize the repository configurations. protected void init() throws IOException { createrepository(); Properties properties = new Properties(); String filename = "pcconfig.properties"; InputStream propstream = getclass().getclassloader().getresourceasstream( filename); if ( propstream!= null ) { properties.load( propstream ); rep.getproperties().setproperty(repopropsconstant.pc_client_i NSTALL_PATH,"C:\\Informatica\\PowerCenter8.5\\client\\bin"); rep.getproperties().setproperty(repopropsconstant.target_repo _NAME, "PowerCenter"); 3

4 rep.getproperties().setproperty(repopropsconstant.repo_server _DOMAIN_NAME, "SDK_Domain"); rep.getproperties().setproperty(repopropsconstant.admin_passw ORD, "Administrator"); rep.getproperties().setproperty(repopropsconstant.admin_usern AME, "Administrator"); else { throw new IOException( "pcconfig.properties file not found."); * Initialize the method public void execute() throws Exception { // initialize the repository configurations. init(); RepositoryConnectionManager repmgr = new PmrepRepositoryConnectionManager(); rep.setrepositoryconnectionmanager(repmgr); // get the list of folder names which satisfies filter condition Vector folders = rep.getfolder(new NameFilter() { public boolean accept(string name) { return name.equals("jmf_work"); ); //folder count - in this case it is always 1 int foldersize = folders.size(); for(int i=0 ; i < foldersize; i++){ Vector listofsources = ((Folder)folders.get(i)).getSource(); //get the list of sources int listsize = listofsources.size(); System.out.println(" ***** List of Sources ******"); for(int j=0; j < listsize; j++){ System.out.println(((Source)listOfSources.get(j)).getName()); for(int i=0 ; i < foldersize; i++){ Vector listoftargets = ((Folder)folders.get(i)).getTarget(); //get the list of targets int listsize = listoftargets.size(); System.out.println(" ***** List of Targets ******"); for(int j=0; j < listsize; j++){ System.out.println(((Target)listOfTargets.get(j)).getName()); for(int i=0 ; i < foldersize; i++){ 4

5 Vector listofmappings = ((Folder)folders.get(i)).getMappings(); //get the list of mappings int listsize = listofmappings.size(); System.out.println(" ***** List of Mappings ******"); for(int j=0; j < listsize; j++){ System.out.println(((Mapping)listOfMappings.get(j)).getName()); * not expecting any arguments public static void main(string[] args) { try { ListObjects repo = new ListObjects(); repo.execute(); catch (Exception e) { e.printstacktrace(); System.err.println( "Exception is: " + e.getmessage() ); Example 2 - List Folders Use the following code to list the folders in the PowerCenter repository: * ListFolders.java Created on Jan, * Copyright (c) 2008 Informatica Corporation. All rights reserved. * INFORMATICA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. package com.informatica.powercenter.sdk.mapfwk.samples; java.io.ioexception; java.io.inputstream; java.util.properties; java.util.vector; com.informatica.powercenter.sdk.mapfwk.core.folder; com.informatica.powercenter.sdk.mapfwk.core.repopropsconstant; com.informatica.powercenter.sdk.mapfwk.core.repository; com.informatica.powercenter.sdk.mapfwk.core.transformation; com.informatica.powercenter.sdk.mapfwk.reputils.repositoryconnectionmanag er; com.informatica.powercenter.sdk.mapfwk.util.pmrepwrap.pmreprepositoryco nnectionmanager; * This example is to list all folder names in a given repository 5

6 public class ListFolders { // Instance variables protected Repository rep; protected String mapfilename; protected Transformation rank; protected void createrepository() { rep = new Repository( "PowerCenter", "PowerCenter", "This repository contains API test samples" ); * Initialise the repository configurations. protected void init() throws IOException { createrepository(); Properties properties = new Properties(); String filename = "pcconfig.properties"; InputStream propstream = getclass().getclassloader().getresourceasstream( filename); if ( propstream!= null ) { properties.load( propstream ); rep.getproperties().setproperty(repopropsconstant.pc_client_in STALL_PATH, "C:\\Informatica\\PowerCenter8.5\\client\\bin"); rep.getproperties().setproperty(repopropsconstant.target_repo_ NAME, "PowerCenter"); rep.getproperties().setproperty(repopropsconstant.repo_server_ DOMAIN_NAME, "SDK_Domain"); rep.getproperties().setproperty(repopropsconstant.admin_passwo RD, "Administrator"); rep.getproperties().setproperty(repopropsconstant.admin_userna ME, "Administrator"); else { throw new IOException( "pcconfig.properties file not found."); * Initialize the method public void execute() throws Exception { // initialise the repository configurations. init(); RepositoryConnectionManager repmgr = new PmrepRepositoryConnectionManager(); rep.setrepositoryconnectionmanager(repmgr); Vector folders = rep.getfolder(); //gets folder count from repository int foldersize = folders.size(); 6

7 System.out.println("List of folder present in repository: " + rep.getproperties().getproperty(repopropsconstant.target_repo_n AME)); for(int i=0 ; i < foldersize; i++){ String foldername = ((Folder)folders.get(i)).getName(); System.out.println(folderName); * Not expecting any arguments public static void main(string[] args) { try { ListFolders listfolders = new ListFolders(); listfolders.execute(); catch (Exception e) { e.printstacktrace(); System.err.println( "Exception is: " + e.getmessage() ); Example 3 - List Workflows Use the following code to list the workflows in the PowerCenter repository: * ListWorkFlows.java Created on Jan, * Copyright (c) 2008 Informatica Corporation. All rights reserved. * INFORMATICA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. package com.informatica.powercenter.sdk.mapfwk.samples; java.io.ioexception; java.io.inputstream; java.util.properties; java.util.vector; com.informatica.powercenter.sdk.mapfwk.core.folder; com.informatica.powercenter.sdk.mapfwk.core.namefilter; com.informatica.powercenter.sdk.mapfwk.core.repopropsconstant; com.informatica.powercenter.sdk.mapfwk.core.repository; com.informatica.powercenter.sdk.mapfwk.core.transformation; com.informatica.powercenter.sdk.mapfwk.core.workflow; com.informatica.powercenter.sdk.mapfwk.reputils.repositoryconnectionman ager; com.informatica.powercenter.sdk.mapfwk.util.pmrepwrap.pmreprepositoryco nnectionmanager; * This example is to list all workflow names in a given folder of a repository 7

8 public class ListWorkFlows { // Instance variables protected Repository rep; protected String mapfilename; protected Transformation rank; protected void createrepository() { rep = new Repository( "PowerCenter", "PowerCenter", "This repository contains API test samples" ); * Initialise the repository configurations. protected void init() throws IOException { createrepository(); Properties properties = new Properties(); String filename = "pcconfig.properties"; InputStream propstream = getclass().getclassloader().getresourceasstream( filename); if ( propstream!= null ) { properties.load( propstream ); rep.getproperties().setproperty(repopropsconstant.pc_client_in STALL_PATH, "C:\\Informatica\\PowerCenter8.5\\client\\bin"); rep.getproperties().setproperty(repopropsconstant.target_repo_ NAME, "PowerCenter"); rep.getproperties().setproperty(repopropsconstant.repo_server_ DOMAIN_NAME, "SDK_Domain"); rep.getproperties().setproperty(repopropsconstant.admin_passwo RD, "Administrator"); rep.getproperties().setproperty(repopropsconstant.admin_userna ME, "Administrator"); else { throw new IOException( "pcconfig.properties file not found."); * Initialize the method public void execute() throws Exception { // initialise the repository configurations. init(); RepositoryConnectionManager repmgr = new PmrepRepositoryConnectionManager(); rep.setrepositoryconnectionmanager(repmgr); // get the list of folder names which satisfies filter condition Vector folders = rep.getfolder(new NameFilter() { public boolean accept(string name) { return name.equals("work"); 8

9 ); //folder count - in this case it is always 1 int foldersize = folders.size(); for(int i=0 ; i < foldersize; i++){ Vector listofworkflows = ((Folder)folders.get(i)).getWorkFlows(); //get the list of workflows int listsize = listofworkflows.size(); System.out.println(" ***** List of workflows ******"); for(int j=0; j < listsize; j++){ System.out.println(((Workflow)listOfWorkFlows.get(j)).getName()); * Not expecting any arguments public static void main(string[] args) { try { ListWorkFlows repo = new ListWorkFlows(); repo.execute(); catch (Exception e) { e.printstacktrace(); System.err.println( "Exception is: " + e.getmessage() ); For more information about the Java Mapping Framework, see the samples for the Java Mapping Framework provided with the SDK install. 9

10 10

2018/2/5 话费券企业客户接入文档 语雀

2018/2/5 话费券企业客户接入文档 语雀 1 2 2 1 2 1 1 138999999999 2 1 2 https:lark.alipay.com/kaidi.hwf/hsz6gg/ppesyh#2.4-%e4%bc%81%e4%b8%9a%e5%ae%a2%e6%88%b7%e6%8e%a5%e6%94%b6%e5%85%85%e5 1/8 2 1 3 static IAcsClient client = null; public static

More information

The XML PDF Access API for Java Technology (XPAAJ)

The XML PDF Access API for Java Technology (XPAAJ) The XML PDF Access API for Java Technology (XPAAJ) Duane Nickull Senior Technology Evangelist Adobe Systems TS-93260 2007 JavaOne SM Conference Session TS-93260 Agenda Using Java technology to manipulate

More information

Programming with the SCA BB Service Configuration API

Programming with the SCA BB Service Configuration API CHAPTER 3 Programming with the SCA BB Service Configuration API Published: December 23, 2013, Introduction This chapter is a reference for the main classes and methods of the Cisco SCA BB Service Configuration

More information

Programming with the SCA BB Service Configuration API

Programming with the SCA BB Service Configuration API CHAPTER 3 Programming with the SCA BB Service Configuration API Revised: September 17, 2012, Introduction This chapter is a reference for the main classes and methods of the Cisco SCA BB Service Configuration

More information

Programming with the SCA BB Service Configuration API

Programming with the SCA BB Service Configuration API CHAPTER 3 Programming with the SCA BB Service Configuration API Revised: November 8, 2010, Introduction This chapter is a reference for the main classes and methods of the Cisco SCA BB Service Configuration

More information

(A) 99 (B) 100 (C) 101 (D) 100 initial integers plus any additional integers required during program execution

(A) 99 (B) 100 (C) 101 (D) 100 initial integers plus any additional integers required during program execution Ch 5 Arrays Multiple Choice 01. An array is a (A) (B) (C) (D) data structure with one, or more, elements of the same type. data structure with LIFO access. data structure, which allows transfer between

More information

Getting Information Out of the Informatica Repository. William Flood, ETL Team Lead Charles Schwab

Getting Information Out of the Informatica Repository. William Flood, ETL Team Lead Charles Schwab 1 Getting Information Out of the Informatica Repository William Flood, ETL Team Lead Charles Schwab 2 My Background About Charles Schwab Life at Schwab 3 Presentation Agenda Three Ways to Query Informatica

More information

Using the e- Science Central REST API

Using the e- Science Central REST API Using the e- Science Central REST API API Client version 3.0 Page 1 of 43 Using the API The esc API is broken into a number of sections, each of which allow you to access a specific piece of system functionality.

More information

Deploying PowerCenter on AWS ICMP Infrastructure

Deploying PowerCenter on AWS ICMP Infrastructure Deploying PowerCenter on AWS ICMP Infrastructure Copyright Informatica LLC 2017. Informatica, the Informatica logo, and PowerCenter are trademarks or registered trademarks of Informatica LLC in the United

More information

(A) 99 ** (B) 100 (C) 101 (D) 100 initial integers plus any additional integers required during program execution

(A) 99 ** (B) 100 (C) 101 (D) 100 initial integers plus any additional integers required during program execution Ch 5 Arrays Multiple Choice Test 01. An array is a ** (A) data structure with one, or more, elements of the same type. (B) data structure with LIFO access. (C) data structure, which allows transfer between

More information

... 1... 2... 2... 3... 3... 4... 4... 5... 5... 6... 6... 7... 8... 9... 10... 13... 14... 17 1 2 3 4 file.txt.exe file.txt file.jpg.exe file.mp3.exe 5 6 0x00 0xFF try { in.skip(9058); catch (IOException

More information

Create Rank Transformation in Informatica with example

Create Rank Transformation in Informatica with example Create Rank Transformation in Informatica with example Rank Transformation in Informatica. Creating Rank Transformation in Inforamtica. Creating target definition using Target designer. Creating a Mapping

More information

Simple Data Source Crawler Plugin to Set the Document Title

Simple Data Source Crawler Plugin to Set the Document Title Simple Data Source Crawler Plugin to Set the Document Title IBM Content Analytics 1 Contents Introduction... 4 Basic FS Crawler behavior.... 8 Using the Customizer Filter to Modify the title Field... 13

More information

Input-Output and Exception Handling

Input-Output and Exception Handling Software and Programming I Input-Output and Exception Handling Roman Kontchakov / Carsten Fuhs Birkbeck, University of London Outline Reading and writing text files Exceptions The try block catch and finally

More information

Input from Files. Buffered Reader

Input from Files. Buffered Reader Input from Files Buffered Reader Input from files is always text. You can convert it to ints using Integer.parseInt() We use BufferedReaders to minimize the number of reads to the file. The Buffer reads

More information

Hyperion Data Integration Management Adapter for Essbase. Sample Readme. Release

Hyperion Data Integration Management Adapter for Essbase. Sample Readme. Release Hyperion Data Integration Management Adapter for Essbase Release 11.1.1.1 Sample Readme [Skip Navigation Links] Purpose... 2 About Data Integration Management Release 11.1.1.1... 2 Data Integration Management

More information

This document contains important information about main features, installation, and known limitations for Data Integration Hub.

This document contains important information about main features, installation, and known limitations for Data Integration Hub. Informatica Corporation Data Integration Hub Version 10.0.0 Release Notes November 2015 Copyright (c) 1993-2015 Informatica LLC. All rights reserved. Contents New Features... 1 Upgrade Changes... 1 Installation

More information

FDK API Manual for Java. FDK API Manual for Java. June FN Pricing

FDK API Manual for Java. FDK API Manual for Java. June FN Pricing FDK API Manual for Java June 2015 FN Pricing Contents Overview... 1 System Environments... 1 Installation files... 1 Runtime Environments... 1 Sample codes... 1 CCallFdk... 8 static void Initialize(String

More information

BBM 102 Introduction to Programming II Spring Exceptions

BBM 102 Introduction to Programming II Spring Exceptions BBM 102 Introduction to Programming II Spring 2018 Exceptions 1 Today What is an exception? What is exception handling? Keywords of exception handling try catch finally Throwing exceptions throw Custom

More information

IT101. File Input and Output

IT101. File Input and Output IT101 File Input and Output IO Streams A stream is a communication channel that a program has with the outside world. It is used to transfer data items in succession. An Input/Output (I/O) Stream represents

More information

CS 211: Methods, Memory, Equality

CS 211: Methods, Memory, Equality CS 211: Methods, Memory, Equality Chris Kauffman Week 2-1 So far... Comments Statements/Expressions Variable Types little types, what about Big types? Assignment Basic Output (Input?) Conditionals (if-else)

More information

Table of Contents. Tutorial API Deployment Prerequisites... 1

Table of Contents. Tutorial API Deployment Prerequisites... 1 Copyright Notice All information contained in this document is the property of ETL Solutions Limited. The information contained in this document is subject to change without notice and does not constitute

More information

Exceptions Handling Errors using Exceptions

Exceptions Handling Errors using Exceptions Java Programming in Java Exceptions Handling Errors using Exceptions Exceptions Exception = Exceptional Event Exceptions are: objects, derived from java.lang.throwable. Throwable Objects: Errors (Java

More information

Introduction to Java Development with IDS

Introduction to Java Development with IDS Introduction to Java Development with IDS Jean Georges Perrin IIUG GreenIvory.com Tuesday, October 3 rd 2006 09:00 10:00. JGP.net Platform: IDS, Java 1 Agenda Who am I? Architecture Requirements Your very

More information

*Java has included a feature that simplifies the creation of

*Java has included a feature that simplifies the creation of Java has included a feature that simplifies the creation of methods that need to take a variable number of arguments. This feature is called as varargs (short for variable-length arguments). A method that

More information

Recitation: Loop Jul 7, 2008

Recitation: Loop Jul 7, 2008 Nested Loop Recitation: Loop Jul 7, 2008 1. What is the output of the following program? Use pen and paper only. The output is: ****** ***** **** *** ** * 2. Test this program in your computer 3. Use "for

More information

This document contains information on fixed and known limitations for Test Data Management.

This document contains information on fixed and known limitations for Test Data Management. Informatica Corporation Test Data Management Version 9.6.0 Release Notes August 2014 Copyright (c) 2003-2014 Informatica Corporation. All rights reserved. Contents Informatica Version 9.6.0... 1 Installation

More information

Running PowerCenter Advanced Edition in Split Domain Mode

Running PowerCenter Advanced Edition in Split Domain Mode Running PowerCenter Advanced Edition in Split Domain Mode 1993-2016 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying,

More information

Each command-line argument is placed in the args array that is passed to the static main method as below :

Each command-line argument is placed in the args array that is passed to the static main method as below : 1. Command-Line Arguments Any Java technology application can use command-line arguments. These string arguments are placed on the command line to launch the Java interpreter after the class name: public

More information

ERwin and JDBC. Mar. 6, 2007 Myoung Ho Kim

ERwin and JDBC. Mar. 6, 2007 Myoung Ho Kim ERwin and JDBC Mar. 6, 2007 Myoung Ho Kim ERwin ERwin a popular commercial ER modeling tool» other tools: Dia (open source), Visio, ConceptDraw, etc. supports database schema generation 2 ERwin UI 3 Data

More information

Birkbeck (University of London) Software and Programming 1 In-class Test Mar 2018

Birkbeck (University of London) Software and Programming 1 In-class Test Mar 2018 Birkbeck (University of London) Software and Programming 1 In-class Test 2.1 22 Mar 2018 Student Name Student Number Answer ALL Questions 1. What output is produced when the following Java program fragment

More information

BIT Java Programming. Sem 1 Session 2011/12. Chapter 2 JAVA. basic

BIT Java Programming. Sem 1 Session 2011/12. Chapter 2 JAVA. basic BIT 3383 Java Programming Sem 1 Session 2011/12 Chapter 2 JAVA basic Objective: After this lesson, you should be able to: declare, initialize and use variables according to Java programming language guidelines

More information

CPSC 441 Tutorial TCP Server. Department of Computer Science University of Calgary

CPSC 441 Tutorial TCP Server. Department of Computer Science University of Calgary CPSC 441 Tutorial TCP Server Department of Computer Science University of Calgary TCP Socket Client Server Connection Request Server Listening on welcoming socket Client Socket Server Socket Data Simple

More information

SQream Connector JDBC SQream Technologies Version 2.9.3

SQream Connector JDBC SQream Technologies Version 2.9.3 SQream Connector JDBC 2.9.3 SQream Technologies 2019-03-27 Version 2.9.3 Table of Contents The SQream JDBC Connector - Overview...................................................... 1 1. API Reference............................................................................

More information

Student Number: Please fill out the identification section above as well as the one on the back page, and read the instructions below. Good Luck!

Student Number: Please fill out the identification section above as well as the one on the back page, and read the instructions below. Good Luck! CSC 343H1S 2013 Test 2 Duration 50 minutes Aids allowed: none Last Name: Lecture Section: Day Student Number: First Name: Instructor: Horton Please fill out the identification section above as well as

More information

MyLead Release V1.2 Developer s Guide (Client Service)

MyLead Release V1.2 Developer s Guide (Client Service) LINKED ENVIRONMENTS FOR ATMOSPHERIC DISCOVERY MyLead Release V1.2 Developer s Guide (Client Service) Project Title: mylead Document Title: mylead Release V.1.2 Developer s Guide Organization: Indiana University

More information

CS Week 11. Jim Williams, PhD

CS Week 11. Jim Williams, PhD CS 200 - Week 11 Jim Williams, PhD This Week 1. Exam 2 - Thursday 2. Team Lab: Exceptions, Paths, Command Line 3. Review: Muddiest Point 4. Lecture: File Input and Output Objectives 1. Describe a text

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 Web Design & Development Final Term Solved MCQs with Reference with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar

More information

Using the SAP BW Metadata Creation Solution

Using the SAP BW Metadata Creation Solution Using the SAP BW Metadata Creation Solution You can use the SAP BW metadata creation solution to create InfoSources, InfoObjects, and InfoPackages and start InfoPackages. To create objects in SAP BW, open

More information

From the book. Integration-Ready Architecture and Design. Cambridge University Press

From the book. Integration-Ready Architecture and Design. Cambridge University Press Design and Coding Hints Jeff (Yefim) Zhuk From the book Integration-Ready Architecture and Design Cambridge University Press Software Engineering With XML, Java,.NET, Wireless, Speech and Knowledge Technologies

More information

CSPP : Introduction to Object-Oriented Programming

CSPP : Introduction to Object-Oriented Programming CSPP 511-01: Introduction to Object-Oriented Programming Harri Hakula Ryerson 256, tel. 773-702-8584 hhakula@cs.uchicago.edu August 7, 2000 CSPP 511-01: Lecture 15, August 7, 2000 1 Exceptions Files: Text

More information

JAVA - FILE CLASS. The File object represents the actual file/directory on the disk. Below given is the list of constructors to create a File object

JAVA - FILE CLASS. The File object represents the actual file/directory on the disk. Below given is the list of constructors to create a File object http://www.tutorialspoint.com/java/java_file_class.htm JAVA - FILE CLASS Copyright tutorialspoint.com Java File class represents the files and directory pathnames in an abstract manner. This class is used

More information

Lecture 4: Exceptions. I/O

Lecture 4: Exceptions. I/O Lecture 4: Exceptions. I/O Outline Access control. Class scope Exceptions I/O public class Malicious { public static void main(string[] args) { maliciousmethod(new CreditCard()); } static void maliciousmethod(creditcard

More information

EXCEPTIONS. Objectives. The try and catch Statements. Define exceptions. Use try, catch and finally statements. Describe exception categories

EXCEPTIONS. Objectives. The try and catch Statements. Define exceptions. Use try, catch and finally statements. Describe exception categories Objectives Define exceptions 8 EXCEPTIONS Use try, catch and finally statements Describe exception categories Identify common exceptions Develop programs to handle your own exceptions 271 272 Exceptions

More information

CS1092: Tutorial Sheet: No 3 Exceptions and Files. Tutor s Guide

CS1092: Tutorial Sheet: No 3 Exceptions and Files. Tutor s Guide CS1092: Tutorial Sheet: No 3 Exceptions and Files Tutor s Guide Preliminary This tutorial sheet requires that you ve read Chapter 15 on Exceptions (CS1081 lectured material), and followed the recent CS1092

More information

Remedial Java - Excep0ons 3/09/17. (remedial) Java. Jars. Anastasia Bezerianos 1

Remedial Java - Excep0ons 3/09/17. (remedial) Java. Jars. Anastasia Bezerianos 1 (remedial) Java anastasia.bezerianos@lri.fr Jars Anastasia Bezerianos 1 Disk organiza0on of Packages! Packages are just directories! For example! class3.inheritancerpg is located in! \remedialjava\src\class3\inheritencerpg!

More information

CS 200 File Input and Output Jim Williams, PhD

CS 200 File Input and Output Jim Williams, PhD CS 200 File Input and Output Jim Williams, PhD This Week 1. WaTor Change Log 2. Monday Appts - may be interrupted. 3. Optional Lab: Create a Personal Webpage a. demonstrate to TA for same credit as other

More information

File IO. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 20

File IO. Computer Science and Engineering College of Engineering The Ohio State University. Lecture 20 File IO Computer Science and Engineering College of Engineering The Ohio State University Lecture 20 I/O Package Overview Package java.io Core concept: streams Ordered sequences of data that have a source

More information

Java Programming Unit 7. Error Handling. Excep8ons.

Java Programming Unit 7. Error Handling. Excep8ons. Java Programming Unit 7 Error Handling. Excep8ons. Run8me errors An excep8on is an run- 8me error that may stop the execu8on of your program. For example: - someone deleted a file that a program usually

More information

EXCEPTIONS. Java Programming

EXCEPTIONS. Java Programming 8 EXCEPTIONS 271 Objectives Define exceptions Exceptions 8 Use try, catch and finally statements Describe exception categories Identify common exceptions Develop programs to handle your own exceptions

More information

Assignment 8B SOLUTIONS

Assignment 8B SOLUTIONS CSIS 10A Assignment 8B SOLUTIONS Read: Chapter 8 Choose and complete any 10 points from the problems below, which are all included in the download file on the website. Use BlueJ to complete the assignment,

More information

PowerCenter Repository Maintenance

PowerCenter Repository Maintenance PowerCenter Repository Maintenance 2012 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without

More information

Informatica BCI Extractor Solution

Informatica BCI Extractor Solution Informatica BCI Extractor Solution Objective: The current BCI implementation delivered by Informatica uses a LMAPI SDK plugin to serially execute idoc requests to SAP and then execute a process mapping

More information

Getting Started in Java. Bill Pugh Dept. of Computer Science Univ. of Maryland, College Park

Getting Started in Java. Bill Pugh Dept. of Computer Science Univ. of Maryland, College Park Getting Started in Java Bill Pugh Dept. of Computer Science Univ. of Maryland, College Park Hello, World In HelloWorld.java public class HelloWorld { public static void main(string [] args) { System.out.println(

More information

SelfTestEngine.PR000041_70questions

SelfTestEngine.PR000041_70questions SelfTestEngine.PR000041_70questions Number: PR000041 Passing Score: 800 Time Limit: 120 min File Version: 20.02 http://www.gratisexam.com/ This is the best VCE I ever made. Try guys and if any suggestion

More information

Timing ListOperations

Timing ListOperations Timing ListOperations Michael Brockway November 13, 2017 These slides are to give you a quick start with timing operations in Java and with making sensible use of the command-line. Java on a command-line

More information

Chapter 2 Applications and

Chapter 2 Applications and Chapter 2 Applications and Layered Architectures Sockets Socket API API (Application Programming Interface) Provides a standard set of functions that can be called by applications Berkeley UNIX Sockets

More information

New Features... 1 Upgrade Changes... 1 Installation and Upgrade... 1 Known Limitations... 2 Informatica Global Customer Support...

New Features... 1 Upgrade Changes... 1 Installation and Upgrade... 1 Known Limitations... 2 Informatica Global Customer Support... Informatica Corporation Data Integration Hub 10.2.1 Release Notes December 2017 Copyright Informatica LLC 2013, 2017 Contents New Features... 1 Upgrade Changes... 1 Installation and Upgrade... 1 Known

More information

Using PowerCenter to Process Flat Files in Real Time

Using PowerCenter to Process Flat Files in Real Time Using PowerCenter to Process Flat Files in Real Time 2013 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

16-Dec-10. Consider the following method:

16-Dec-10. Consider the following method: Boaz Kantor Introduction to Computer Science IDC Herzliya Exception is a class. Java comes with many, we can write our own. The Exception objects, along with some Java-specific structures, allow us to

More information

JAC444 - Lecture 4. Segment 1 - Exception. Jordan Anastasiade Java Programming Language Course

JAC444 - Lecture 4. Segment 1 - Exception. Jordan Anastasiade Java Programming Language Course JAC444 - Lecture 4 Segment 1 - Exception 1 Objectives Upon completion of this lecture, you should be able to: Separate Error-Handling Code from Regular Code Use Exceptions to Handle Exceptional Events

More information

sqoop Easy, parallel database import/export Aaron Kimball Cloudera Inc. June 8, 2010

sqoop Easy, parallel database import/export Aaron Kimball Cloudera Inc. June 8, 2010 sqoop Easy, parallel database import/export Aaron Kimball Cloudera Inc. June 8, 2010 Your database Holds a lot of really valuable data! Many structured tables of several hundred GB Provides fast access

More information

*** TROUBLESHOOTING TIP ***

*** TROUBLESHOOTING TIP *** *** TROUBLESHOOTING TIP *** If you are experiencing errors with your deliverable 2 setup which deliverable 3 is built upon, delete the deliverable 2 project within Eclipse, and delete the non working newbas

More information

CSc 372 Comparative Programming Languages. Getting started... Getting started. B: Java Bytecode BCEL

CSc 372 Comparative Programming Languages. Getting started... Getting started. B: Java Bytecode BCEL BCEL CSc 372 Comparative Programming Languages B: Java Bytecode BCEL BCEL (formerly JavaClass) allows you to load a class, iterate through the methods and fields, change methods, add new methods and fields,

More information

Java Cookbook. Java Action specification. $ java -Xms512m a.b.c.mymainclass arg1 arg2

Java Cookbook. Java Action specification. $ java -Xms512m a.b.c.mymainclass arg1 arg2 Java Cookbook This document comprehensively describes the procedure of running Java code using Oozie. Its targeted audience is all forms of users who will install, use and operate Oozie. Java Action specification

More information

Connection Pools. The ConnectionObject

Connection Pools. The ConnectionObject Connection Pools A web application that has been deployed on a server may have many clients accessing it. If each time the database connection is needed it has to be reopened, performance will degenerate

More information

public class Q1 { public int x; public static void main(string[] args) { Q1 a = new Q1(17); Q1 b = new Q1(39); public Q1(int x) { this.

public class Q1 { public int x; public static void main(string[] args) { Q1 a = new Q1(17); Q1 b = new Q1(39); public Q1(int x) { this. CS 201, Fall 2013 Oct 2nd Exam 1 Name: Question 1. [5 points] What output is printed by the following program (which begins on the left and continues on the right)? public class Q1 { public int x; public

More information

Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide January 15, 2007 http://www.investintech.com Copyright 2008 Investintech.com, Inc. All rights reserved Adobe is registered

More information

Here is a hierarchy of classes to deal with Input and Output streams.

Here is a hierarchy of classes to deal with Input and Output streams. PART 25 25. Files and I/O 25.1 Reading and Writing Files A stream can be defined as a sequence of data. The InputStream is used to read data from a source and the OutputStream is used for writing data

More information

/* Copyright 2012 Robert C. Ilardi

/* Copyright 2012 Robert C. Ilardi / Copyright 2012 Robert C. Ilardi Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

More information

Reading from URL. Intent - open URL get an input stream on the connection, and read from the input stream.

Reading from URL. Intent - open URL  get an input stream on the connection, and read from the input stream. Simple Networking Loading applets from the network. Applets are referenced in a HTML file. Java programs can use URLs to connect to and retrieve information over the network. Uniform Resource Locator (URL)

More information

Exceptions and Libraries

Exceptions and Libraries Exceptions and Libraries RS 9.3, 6.4 Some slides created by Marty Stepp http://www.cs.washington.edu/143/ Edited by Sarah Heckman 1 Exceptions exception: An object representing an error or unusual condition.

More information

PowerCenter 7 Architecture and Performance Tuning

PowerCenter 7 Architecture and Performance Tuning PowerCenter 7 Architecture and Performance Tuning Erwin Dral Sales Consultant 1 Agenda PowerCenter Architecture Performance tuning step-by-step Eliminating Common bottlenecks 2 PowerCenter Architecture:

More information

CORBA Java. Java. Java. . Java CORBA. Java CORBA (RMI) CORBA ORB. . CORBA. CORBA Java

CORBA Java. Java. Java. . Java CORBA. Java CORBA (RMI) CORBA ORB. . CORBA. CORBA Java CORBA Java?? OMG CORBA IDL C, C++, SmallTalk, Ada Java COBOL, ORB C Ada Java C++ CORBA Java CORBA Java (RMI) JDK12 Java CORBA ORB CORBA,, CORBA? CORBA,,, CORBA, CORBA CORBA Java (, ) Java CORBA Java :

More information

CompSci 125 Lecture 02

CompSci 125 Lecture 02 Assignments CompSci 125 Lecture 02 Java and Java Programming with Eclipse! Homework:! http://coen.boisestate.edu/jconrad/compsci-125-homework! hw1 due Jan 28 (MW), 29 (TuTh)! Programming:! http://coen.boisestate.edu/jconrad/cs125-programming-assignments!

More information

Chapter 4 Remote Procedure Calls and Distributed Transactions

Chapter 4 Remote Procedure Calls and Distributed Transactions Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 4 Remote Procedure Calls and Distributed Transactions Outline

More information

TEXT-BASED APPLICATIONS

TEXT-BASED APPLICATIONS Objectives 9 TEXT-BASED APPLICATIONS Write a program that uses command-line arguments and system properties Write a program that reads from standard input Write a program that can create, read, and write

More information

Getting started with Java

Getting started with Java Getting started with Java by Vlad Costel Ungureanu for Learn Stuff Programming Languages A programming language is a formal constructed language designed to communicate instructions to a machine, particularly

More information

CSc 620 Debugging, Profiling, Tracing, and Visualizing Programs. Getting started... Getting started. 2 : Java Bytecode BCEL

CSc 620 Debugging, Profiling, Tracing, and Visualizing Programs. Getting started... Getting started. 2 : Java Bytecode BCEL BCEL CSc 620 Debugging, Profiling, Tracing, and Visualizing Programs 2 : Java Bytecode BCEL BCEL (formerly JavaClass) allows you to load a class, iterate through the methods and fields, change methods,

More information

Communication and Distributed Processing

Communication and Distributed Processing Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 4 Remote Procedure Calls and Distributed Transactions Outline

More information

BEAWebLogic Server. Monitoring and Managing with the Java EE Management APIs

BEAWebLogic Server. Monitoring and Managing with the Java EE Management APIs BEAWebLogic Server Monitoring and Managing with the Java EE Management APIs Version 10.0 Revised: March 30, 2007 Contents 1. Introduction and Roadmap Document Scope and Audience.............................................

More information

Lecture Notes CPSC 224 (Spring 2012) Today... Java basics. S. Bowers 1 of 8

Lecture Notes CPSC 224 (Spring 2012) Today... Java basics. S. Bowers 1 of 8 Today... Java basics S. Bowers 1 of 8 Java main method (cont.) In Java, main looks like this: public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World!"); Q: How

More information

How to Migrate Microsoft SQL Server Connections from the OLE DB to the ODBC Provider Type

How to Migrate Microsoft SQL Server Connections from the OLE DB to the ODBC Provider Type How to Migrate Microsoft SQL Server Connections from the OLE DB to the ODBC Provider Type Copyright Informatica LLC, 2017. Informatica and the Informatica logo are trademarks or registered trademarks of

More information

INFORMATICA CORPORATION. XML Reporter For Informatica Power Center 1.0-beta. User Guide 28/06/2014

INFORMATICA CORPORATION. XML Reporter For Informatica Power Center 1.0-beta. User Guide 28/06/2014 INFORMATICA CORPORATION XML Reporter For Informatica Power Center 1.0-beta User Guide By 28/06/2014 Name of Solution: XML Reporter For Informatica Power Center Business Requirement: Automates the process

More information

Project #1 Computer Science 2334 Fall 2008

Project #1 Computer Science 2334 Fall 2008 Project #1 Computer Science 2334 Fall 2008 User Request: Create a Word Verification System. Milestones: 1. Use program arguments to specify a file name. 10 points 2. Use simple File I/O to read a file.

More information

Chapter 10. IO Streams

Chapter 10. IO Streams Chapter 10 IO Streams Java I/O The Basics Java I/O is based around the concept of a stream Ordered sequence of information (bytes) coming from a source, or going to a sink Simplest stream reads/writes

More information

Migrating Mappings and Mapplets from a PowerCenter Repository to a Model Repository

Migrating Mappings and Mapplets from a PowerCenter Repository to a Model Repository Migrating Mappings and Mapplets from a PowerCenter Repository to a Model Repository 2016 Informatica LLC. No part of this document may be reproduced or transmitted in any form, by any means (electronic,

More information

I/O STREAM (REQUIRED IN THE FINAL)

I/O STREAM (REQUIRED IN THE FINAL) I/O STREAM (REQUIRED IN THE FINAL) STREAM A stream is a communication channel that a program has with the outside world. It is used to transfer data items in succession. An Input/Output (I/O) Stream represents

More information

Introduction to Java

Introduction to Java Introduction to Java Module 1: Getting started, Java Basics 22/01/2010 Prepared by Chris Panayiotou for EPL 233 1 Lab Objectives o Objective: Learn how to write, compile and execute HelloWorld.java Learn

More information

Hyperion Data Integration Management Adapter for Performance Scorecard. Readme. Release

Hyperion Data Integration Management Adapter for Performance Scorecard. Readme. Release Hyperion Data Integration Management Adapter for Performance Scorecard Release 11.1.1.1 Readme [Skip Navigation Links] Purpose... 3 About Data Integration Management Release 11.1.1.1... 3 Data Integration

More information

Contributed by Tong Zhao

Contributed by Tong Zhao Chapter 1 Apache Jena Contributed by Tong Zhao 1.1 Background Apache Jena [3] is a free and open source Java specifically for building Semantic Web and Linked Data applications. Apache Jena provides an

More information

Binghamton University. CS-140 Fall Problem Solving. Creating a class from scratch

Binghamton University. CS-140 Fall Problem Solving. Creating a class from scratch Problem Solving Creating a class from scratch 1 Recipe for Writing a Class 1. Write the class boilerplate stuff 2. Declare Fields 3. Write Creator(s) 4. Write accessor methods 5. Write mutator methods

More information

CSc 620 Debugging, Profiling, Tracing, and Visualizing Programs

CSc 620 Debugging, Profiling, Tracing, and Visualizing Programs CSc 620 Debugging, Profiling, Tracing, and Visualizing Programs 2 : Java Bytecode BCEL Christian Collberg Department of Computer Science University of Arizona collberg+620@gmail.com Copyright c 2005Christian

More information

XPath Basics. Mikael Fernandus Simalango

XPath Basics. Mikael Fernandus Simalango XPath Basics Mikael Fernandus Simalango Agenda XML Overview XPath Basics XPath Sample Project XML Overview extensible Markup Language Constituted by elements identified by tags and attributes within Elements

More information

CS 101 Fall 2005 Midterm 2 Name: ID:

CS 101 Fall 2005 Midterm 2 Name:  ID: This exam is open text book but closed-notes, closed-calculator, closed-neighbor, etc. Questions are worth different amounts (in particular, the final two questions are worth substantially more than any

More information

I/O in Java I/O streams vs. Reader/Writer. HW#3 due today Reading Assignment: Java tutorial on Basic I/O

I/O in Java I/O streams vs. Reader/Writer. HW#3 due today Reading Assignment: Java tutorial on Basic I/O I/O 10-7-2013 I/O in Java I/O streams vs. Reader/Writer HW#3 due today Reading Assignment: Java tutorial on Basic I/O public class Swimmer implements Cloneable { public Date geteventdate() { return (Date)

More information

Backend. (Very) Simple server examples

Backend. (Very) Simple server examples Backend (Very) Simple server examples Web server example Browser HTML form HTTP/GET Webserver / Servlet JDBC DB Student example sqlite>.schema CREATE TABLE students(id integer primary key asc,name varchar(30));

More information

This document contains important information about main features, installation, and known limitations for Data Integration Hub.

This document contains important information about main features, installation, and known limitations for Data Integration Hub. Informatica Corporation Data Integration Hub Version 10.2 Release Notes April 2017 Copyright Informatica LLC 2013, 2017 Contents New Features... 1 Upgrade Changes... 1 Installation and Upgrade... 1 Fixed

More information

CS11 Java. Fall Lecture 4

CS11 Java. Fall Lecture 4 CS11 Java Fall 2014-2015 Lecture 4 Java File Objects! Java represents files with java.io.file class " Can represent either absolute or relative paths! Absolute paths start at the root directory of the

More information

CS165 Practice Final Exam

CS165 Practice Final Exam CS165 Practice Final Exam I, the undersigned, do hereby affirm that the work contained in this exam is solely my own, and that none of the results were achieved by cheating. This includes using automated

More information