Debugging Barbara Unverferth 1 Techniques March 2002.

Slides:



Advertisements
Similar presentations
Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
Advertisements

Why is that LOV in the screen not returning me desired value?
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
1 Copyright 2007, Information Builders. Slide 1 Nat Poe WebFOCUS Debugging Techniques.
SYSTEM ADMINISTRATION Chapter 19
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
Fundamentals, Design, and Implementation, 9/e Chapter 12 ODBC, OLE DB, ADO, and ASP.
Fundamentals, Design, and Implementation, 9/e COS 346 DAY 22.
1 C. Shahabi Application Programming for Relational Databases Cyrus Shahabi Computer Science Department University of Southern California
DT228/3 Web Development Databases. Database Almost all web application on the net access a database e.g. shopping sites, message boards, search engines.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
Terminal Server © N. Ganesan, Ph.D.. Reference Thin-Client Concept Thin-Client concept tutorial.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
A Technical Overview of Microsoft SQL Server 2005 Melville Thomson IT Pro Evangelist (UK)
Confidential ODBC May 7, Features What is ODBC? Why Create an ODBC Driver for Rochade? How do we Expose Rochade as Relational Transformation.
The Client/Server Database Environment
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
3 Chapter Three Administering and Configuring SQL Server 2000.
Chapter 7 PHP Interacts with Ms. Access (Open DataBase Connectivity (ODBC))
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
Oracle9 i JDeveloper for Database Developers and DBAs Brian Fry Principal Product Manager Oracle JDeveloper Oracle Corporation.
Converting COBOL Data to SQL Data: GDT-ETL Part 1.
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
The In’s and Out’s of the IIS 6.0 Migration Tool The In’s and Out’s of the IIS 6.0 Migration Tool Chris Adams Web Platform Supportability Lead Microsoft.
Designing and Developing WS B. Ramamurthy. Plans We will examine the resources available for development of JAX-WS based web services. We need an IDE,
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Introduction to the Adapter Server Rob Mace June, 2008.
Dr Gordon Russell, Napier University Unit Embedded SQL - V3.0 1 Embedded SQL Unit 5.1.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
JDBC Database Programming in Java Prepared by., Mrs.S.Amudha AP/SWE.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
The world leader in serving science Overview of Thermo 21 CFR Part 11 tools Overview of software used by multiple business units within the Spectroscopy.
Client Services Applications. What are Client Services Applications? Access Server CICS Client Application Server Turns the traditional picture upside.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
ViaSQL Technical Overview. Viaserv, Inc. 2 ViaSQL Support for S/390 n Originally a VSE product n OS/390 version released in 1999 n Identical features.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
1 ADO Activex Data Objects. 2 ADO ADO allows users to access data easily from many existing databases (such as Access or Paradox) From ODBC compliant.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
2 Copyright © 2006, Oracle. All rights reserved. Running a Forms Developer Application.
© SCRIBE SOFTWARE CORPORATION 2008 Tips and Tricks for Working with Scribe Insight Trace Files.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
1. Writing a Java program to connect to SQL Server 2008 and Create a table Populate the table (insert data) Perform queries to retrieve information from.
PHP and SQL Server: Connection IST 210: Organization of Data IST2101.
Exploreengage elevate explore engage elevate Presented By: Laura Murphy, Turnkey Technologies.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
2nd year Computer Science & Engineer
Running a Forms Developer Application
DBMS & TPS Barbara Russell MBA 624.
Web Technologies IT230 Dr Mohamed Habib.
Data Virtualization Demoette… ADO.NET Client
Data Virtualization Demoette… CIS Rights
Troubleshooting and Maintaining Cisco IP Networks (TSHOOT) practice-questions.html.
Debug Logs for the Business Analyst
Presentation transcript:

Debugging Barbara Unverferth 1 Techniques March 2002

2 Agenda  Debugging difficulties with today’s technology  How to break a problem apart  What tools are available to you?  Problem Isolation System  Demo of Problem Isolation System and Support Site search capabilities

3 Debugging Difficulties with Today’s Technology  The “olden days”: COBOL to VSAM on MVS  Today:  Multi-tiered  Multi-vendor  Multi-products  Communications  DBMS’s  Security  Different people supporting different aspects

4 How to Break a Problem Apart  -12 data receive error, Error in transferring data, ODIN_10, or ODIN_4….”Where do I start?”  Identify the components and pull them apart  What is on each platform?  If existing application, what changed?

5 What Tools are Available for You?  Rdaapp, API Query Tool  Edastart –t, Interactive Agent, TSCOM3 in batch on MVS  Tracing  Turning retrieval off

6 What Tools are Available for You?  Rdaapp, API Query Tool – NT:

7 What Tools are Available for You?  Rdaapp, API Query Tool – UNIX, MVS, VM: >> Default communications config file : /u2/css/ibi/srv51/ffs/etc/odin.cfg Override? (Press enter for default) : >> Enter User Name : Enter Password : Enter server name, number, SELF, URL or ? (Hit return for 'LOOPBACK') : >> Enter Command (? for command help):

8 What Tools are Available for You?  RDAAPP commands:  A Attach(Bind) paramters to prepared statement  B Browse...  C Commit  D Describe  E Execute  F Issue FOCUS REQUEST ;  I Set EDAINFO display  M Set fetch mode to A[lpha] or B[inary]  O Set fetch mode to one row at a time  P Prepare SQL ;  Q Disconnect  R Rollback  S Execute SQL or ? for help;  T Set trace display  U Unprepare  V Inspect/Set [ ]  X Execute RPC [ ] or ? for help

9 What Tools are Available for You?  Edastart –t, Interactive Agent, TSCOM3 in batch on MVS

10 What Tools are Available for You?  Edastart –t, Interactive Agent, TSCOM3 in batch on MVS  Allows you to test without using any communications or workload management  FOCUS-like environment  Dialogue manager commands must be in a FOCEXEC

11 What Tools are Available for You?  Edastart –t, Interactive Agent, TSCOM3 in batch on MVS  Any errors generated from profiles should be shown here  Not full screen mode so cannot use TED or CRTFORM  FIN to exit

12 What Tools are Available for You?  Tracing Tool on NT:

13 What Tools are Available for You?  Tracing Components  SET TRACEON=component  Can be placed in global or user profiles, Remote Procecure Call  More detail at:  To trace at a user level:  SET TRACEUSER=ON  How to get just the SQL  SET TRACEON=STMTRACE  Extract the SQL generated and running in native SQL tool  How to turn off other components:  SET TRACEOFF=ALL

14 What Tools are Available for You?  Tracing Hub and Sub  Trace commands can be put in profile at each server  If using –REMOTE BEGIN: -REMOTE BEGIN SET TRACEOFF=ALL SET TRACEON=STMTRACE SET TRACEUSER=ON TABLE FILE …..

15 What Tools are Available for You?  Turning retrieval off:  SET XRETRIEVAL = OFF  Good for testing problems that occur prior to or after (and not related to) data retrieval  Do not need to have DBMS table created

16 An Example  -12 from an application when running a Remote Procedure Call (RPC)  First, remove application (MS Acccess, etc)  Test with API Query Tool (rdaapp) from client and at server level  Does the problem still occur?  If yes, then test with Interactive Agent (edastart –t)  You will sometimes get a more descriptive error here

17 Another Example Here is our configuration: Windows NT  Microsoft Access  ODBC  Hub  TCP/IP  HP-UX  Sub  Oracle

18 Let’s remove these pieces one by one: Remove components one at a time

19 First we take out Microsoft Access, test using ODBC Query Tool: Remove Microsoft Access

20 ODBC Test Tool

21 If the problem still occurs, we can remove ODBC and test using the API client query tool to access the hub directly Remove ODBC

22 API Test Tool

23 If problem still exists, we can remove the hub and test directly on the sub, using the EDA client query tool Remove Hub, go directly to Sub

24 >> Default communications config file : /u2/css/ibi/srv51/ffs/etc/odin.cfg Override? (Press enter for default) : >> Enter User Name : Enter Password : Enter server name, number, SELF, URL or ? (Hit return for 'LOOPBACK') : >> Enter Command (? for command help): RDAAPP on HP-UX Sub

25 If problem still exits, we can remove the communications and test the agent directly using the Interactive Agent Remove Communications

26 RELEASE = R720510B GEN_NUM = SOURCE_DATE = 10/30/ :04:49 BUILD_DATE = 10/31/ :26:14 INSTALLATION_DATE= 10/31/ :54:29 >> Edastart –t on HP-UX

27 Using the Interactive Agent, we are able to see the underlying error: Problem found!

28 Problem Isolation System  Web-based application  Walks you through the components  Provides information on how to test at each level  Shows how to run test tools  Explains how to turn on tracing  Located on support site at:

29 Demonstration of Problem Isolation System and Support Site Search Capabilities  Live demo but in case that doesn’t work…

30 Demonstration of Problem Isolation System and Support Site Search Capabilities

31 Demonstration of Problem Isolation System and Support Site Search Capabilities

32 Demonstration of Problem Isolation System and Support Site Search Capabilities

33 Demonstration of Problem Isolation System and Support Site Search Capabilities

34 Demonstration of Problem Isolation System and Support Site Search Capabilities

35 Demonstration of Problem Isolation System and Support Site Search Capabilities

36 Demonstration of Problem Isolation System and Support Site Search Capabilities

37 Demonstration of Problem Isolation System and Support Site Search Capabilities

38 Demonstration of Problem Isolation System and Support Site Search Capabilities

39 Demonstration of Problem Isolation System and Support Site Search Capabilities

40 Demonstration of Problem Isolation System and Support Site Search Capabilities

41 Demonstration of Problem Isolation System and Support Site Search Capabilities

42 Demonstration of Problem Isolation System and Support Site Search Capabilities

43 Demonstration of Problem Isolation System and Support Site Search Capabilities

44 Demonstration of Problem Isolation System and Support Site Search Capabilities

45 Demonstration of Problem Isolation System and Support Site Search Capabilities

46 Demonstration of Problem Isolation System and Support Site Search Capabilities

47 Demonstration of Problem Isolation System and Support Site Search Capabilities Support site

48 Demonstration of Problem Isolation System and Support Site Search Capabilities Support site

49 Demonstration of Problem Isolation System and Support Site Search Capabilities

50 Demonstration of Problem Isolation System and Support Site Search Capabilities

51 Demonstration of Problem Isolation System and Support Site Search Capabilities

52 Demonstration of Problem Isolation System and Support Site Search Capabilities

53 Demonstration of Problem Isolation System and Support Site Search Capabilities

54 Demonstration of Problem Isolation System and Support Site Search Capabilities

55 Demonstration of Problem Isolation System and Support Site Search Capabilities

56 Demonstration of Problem Isolation System and Support Site Search Capabilities

57 Demonstration of Problem Isolation System and Support Site Search Capabilities

58 Demonstration of Problem Isolation System and Support Site Search Capabilities

59 Demonstration of Problem Isolation System and Support Site Search Capabilities

60 Demonstration of Problem Isolation System and Support Site Search Capabilities

61 Demonstration of Problem Isolation System and Support Site Search Capabilities

62 Demonstration of Problem Isolation System and Support Site Search Capabilities

63 Demonstration of Problem Isolation System and Support Site Search Capabilities

64 Demonstration of Problem Isolation System and Support Site Search Capabilities

65 Demonstration of Problem Isolation System and Support Site Search Capabilities