DB2 UDB for z/OS Version 7 - An Overview
Upcoming SlideShare
Loading in...5
×
 

DB2 UDB for z/OS Version 7 - An Overview

on

  • 613 views

An overview of mainframe DB2 V7

An overview of mainframe DB2 V7

Statistics

Views

Total Views
613
Views on SlideShare
613
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • ASA is being expanded as a result of the mergers in particular MainView. Let us re-examine ASA against the strategic view and the tactical steps which are being put in place. The focus s on ASA and the priorities we put in place to fill the holes, and the way to the future.
  • 15 CIO’s at a recent BMC Conference. Love Parallel Sysplex’s: Scalable costs model. Manageability is so complex it is causing a reduction in availability. What is driving OS/390 growth? Y2K initiated refurbishing of legacy applications Insufficient time to rehost Unlikely to replace refurbished apps soon New non traditional workloads (ERP) More transaction sources Reconsolidating distributed applications Greater use of legacy applications New PC/Server front ends to legacy apps Web / Internet access to legacy applications
  • XML is getting a lot of publicity these days. If you believe everything you read, then XML is going to solve all of our interoperability problems, completely replace SQL, and possibly even deliver world peace. Okay, that last one is an exaggeration, but you get the point. In actuality, XML stands for eXtensible Markup Language. The need for extensibility, structure, and validation is the basis for the evolution of the web towards XML. XML, like HTML, is based upon SGML (Standard Generalized Markup Language) which allows documents to be self-describing, through the specification of tag sets and the structural relationships between the tags. HTML is a small, specifically defined set of tags and attributes, enabling users to bypass the self-describing aspect for a document. XML, on the other hand, retains the key SGML advantage of self-description, while avoiding the complexity of full-blown SGML.

DB2 UDB for z/OS Version 7 - An Overview DB2 UDB for z/OS Version 7 - An Overview Presentation Transcript

  • www.bmc.com 1 6/22/99 ©1999 BMC Software, Inc. All Rights Reserved. DB2 UDB for OS/390 Version 7 An Overview Craig S. Mullins Director, DB2 Technology Planning BMC Software http://www.bmc.com Visit Craig’s web site at: http://www.craigsmullins.com
  • 2 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Agenda DB2 and S/390 Status Check DB2 V7 Enhancements  e-Business  Application  Data Management  Business Intelligence  Family Compatibility  Other New Features Trends for the Future Summary
  • 3 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. S/390 Status Check S/390 rebranded as zSeries 900  runs OS/390, Linux, and z/OS OS/390 becomes z/OS  64 bit  99.999% up time  Workload License Manager  Continued Investment in Mainframe
  • 4 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Where does S/390 play?  >70% of data still resides on S/390  > 95% of S/390 data will be front-ended to the web  >80% of IMS and CICS applications will be front-ended to the web  20-35% S/390s will become web-servers
  • 5 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Status Check DB2 licenses growing 25% annually since 1996  10,000+ licenses as of end of 1999 Complex environments  More components, applications, data  Parallel Sysplex - scalability but not availability Staffing  Shrinking pool of available talent e-Business shrinks maintenance windows  No longer a “batch” window - 24x7x366
  • 6 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2: Where are we Now? According to IBM (Dan Wordman [IBM], IDUG May 2000)  50% of IBM’s DB2 Customers are using Version 5 in production  20% have Version 6 in house (at least testing)  More and more shops are beginning to move to DB2 V6 now  Year 2000 scare is past us  Version 6 Refresh / RML (2Q2000)  More stability  Version 7 is just around the corner...
  • 7 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Too Much, Too Quick? New functionality in DB2 V5 and V6 delivered through APARs:  http://www.software.ibm.com/data/db2/os390/v5apar.html  http://www.software.ibm.com/data/db2/os390/v6apar.html Identity Columns Java StoredProcedures REXXLanguage and Stored Procedures REBUILD INDEX Utility More than 15 Tables in a Join SQLJ Support SQL Procedure Language Index Screening for List Prefetch
  • 8 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Version 7 E-Business Enhancements E-busi-ness (e’biz’nis) The transformation of key business processes through the use of Internet technologies.
  • 9 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. What is XML? XML stands for eXtensible Markup Language.  Like HTML, XML is based on SGML (Standard Generalized Markup Language)  HTML uses tags to describe the appearance of data on a page, whereas XML uses tags to describe the data itself, instead of its appearance.  Allows documents to be self-describing, through the specification of tag sets and the structural relationships between the tags.  XML is a meta language - a language used to define other languages; these languages are collected in dictionaries called Document Type Definitions (DTDs).  The DTD stores definitions of tags for specific industries or fields of knowledge. So, the meaning of a tag must be defined in a DTD before it can be used. The DTD for an XML document can be either part of the document or stored in an external file.
  • 10 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. XML Extender A new data type extender for XML documents  Like Video, Image, Audio, and Text Extenders  Combine UDT, UDFs, and triggers for functionality XML document stored in a column -or- XML components stored as parts of multiple columns in multiple tables Can formulate XML documents from existing DB2 tables Can search XML documents text and sections UDTs for XML: XMLVARCHAR and XMLCLOB
  • 11 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Net.Data Enhancements Built-in XML exploitation  Generate XML tags as output from Net.Data macros  Use XML style sheet to format and display the generated output
  • 12 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Version 7 Application-Related Enhancements
  • 13 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Stored Procedure Enhancements . . . Stored Procedure Builder  Point and click environment for building stored procedures  Supports the entire DB2 Family  Can build stored procedures on a workstation for deployment on OS/390  Will support SQL Procedure Language and Java  Works as:  a Microsoft Visual Studio plug-in  with Microsoft Visual Basic  with IBM VisualAge  as a stand-alone SP development environment
  • 14 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. SQL Procedure Enhancements . . .  SQL Procedure Language:  Enables stored procedures to be written in extended, procedural SQL:  Assignment statements  CASE - LEAVE  Cursors  IF - THEN - ELSE  Local variables  LOOP, REPEAT, and WHILE  FOR, CALL, and RETURN  SIGNAL and RESIGNAL  SQL Procedure Language is compatible with ANSI SQL/PSM specification  The SQL Procedure Language is converted into C by the Stored Procedure Builder  The C code goes through program preparation process  Provides ease of development with procedural SQL plus . . .  Speed of execution with compiled and prepared C
  • 15 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Stored Procedure Enhancements. COMMIT and ROLLBACK: Now enabled for stored procedures  Possible for a stored procedure to issue  Use with caution  Will COMMIT or ROLLBACK entire UOW  including changes made from by calling application
  • 16 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. SQL Assist SQL Assist provides: A tool to help you build SQL statements  SELECT  INSERT  UPDATE  DELETE Available in the following “products”:  Control Center  Stored Procedure Builder  Data Warehouse Center
  • 17 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Scrollable Cursors . . . Can code cursors to scroll forward and backward through the data  FETCH next row  FETCH prior row  Move cursor forward N rows  Move cursor backward N rows Makes navigating through retrieved data easier  Work is moved from the application code into SQL  Use a fixed, declared temporary table to store the result set.
  • 18 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Scrollable Cursors. SENSITIVE  show changes done by the user or other users INSENSITIVE  not updateable; will not show changes made DECLARE csr1 SENSITIVE STATIC SCROLL CURSOR FOR SELECT FIRSTNAME, LASTNME FROM DSN8710.EMP ORDER BY LASTNME; OPEN csr1; FETCH LAST csr1 INTO :FN, :LN; Scrollable Cursor FETCH Keywords NEXT PRIOR LAST CURRENT BEFORE AFTER ABSOLUTE n RELATIVE n
  • 19 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Row Expressions Can specify more than one set of comparisons in a single predicate using a subquery  Multiple columns compared in a single predicate  Possibly against multiple rows on the right side of the predicate Example SELECT * FROM SAMPLE_TABLE WHERE (COL1, COL2) IN (SELECT COLX, COLY FROM OTHER_TABLE);
  • 20 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. External SAVEPOINTs SAVEPOINTs basically enable sub-UOW stability points (or milestones)  Name a SAVEPOINT, for example, SPOINT1  Subsequent processing  ROLLBACK TO SAVEPOINT SPOINT1 Can have multiple SAVEPOINTs within a UOW Can ROLLBACK to any SAVEPOINT (OS/390)
  • 21 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Other Application Enhancements JDBC and ODBC Improvements  JDBC 2.0 support  ODBC 3.0 support  Can run ODBC/CLI programs as a static application SQL Improvements  Self-referencing Subselect on UPDATE or DELETE  FETCH limited number of rows (e.g. TOP ‘N’ ROWS)  Optimization and parallelism improvements  Better sort avoidance techniques Indexing  Ability to select index access for small tables. DSNZPARM value determines the threshold for a small table
  • 22 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Other Application Enhancements Precompiler Services - an API called by a host language compiler or preprocessor  Precompile and compile in one step  Easier and more flexible  Portability between the DB2 Family improved  Initially, only available for COBOL
  • 23 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Version 7 Data Management Enhancements
  • 24 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Identity Columns Automatically generate unique, sequential values for a table  Only one identity column per table  Good for generating unique key values  Data type must be SMALLINT, INTEGER, BIGINT, or DECIMAL(x,0) [zero scale]  Can also use a UDT based on one of these data types Example CREATE TABLE EXAMPLE (ID_COL INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY START WITH 100 INCREMENT BY 10 ...)
  • 25 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Declared Temporary Tables Defines a temporary table for the current session, not just a UOW like Global Temporary Tables  Embedded in application program  Can be dynamically prepared  Does not appear in the DB2 Catalog  Can not be shared across programs, users, etc.  Table materialized in new temporary tablespace  No authority to DECLARE, but authority required to use the new temporary tablespace  CHECK constraints and indexes are supported on temporary tables (OS/390)
  • 26 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Declared Temporary Tables (continued) Why use declared temporary tables: Retrieve data once and use repetitively throughout a program Retrieve data from non-relational data sources (flat file, IMS, IDMS, etc.) and use SQL to join it to DB2 data Staging area for data before it is moved into a permanent DB2 table
  • 27 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. What is Unicode? Fundamentally, computers just deal with numbers. They store letters and other characters by assigning a number for each one. Before Unicode was invented, there were hundreds of different encoding systems for assigning these numbers. Unicode provides a unique number for every character:  no matter what the platform,  no matter what the program,  no matter what the language. More information available at: http://www.unicode.org
  • 28 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Unicode Support Support for Unicode enabled in DB2 V7 Provides multinational support Represents characters of virtually all languages One codeset per system Variable length encoding scheme  supports UCS-2 and UTF-8
  • 29 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Utility Improvements IBM UNLOAD utility (a third unload option from IBM) - better speed than DSNTIAUL - not free, extra charge from IBM Parallel LOAD with multiple inputs - load a partitioned TS in parallel with multiple input data sets - run in a single step Online LOAD RESUME capability
  • 30 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Utility Improvement (continued) COPY with CHECKPAGE - enhanced error-checking on data pages - ensures error-free backup COPY Usual promises of speed improvements - unusual promise of additional cost Utility wildcarding - templates & lists define groups of objects for utility processing LISTDEF GL INCLUDE TABLESPACE GL.* INCLUDE INDEXSPACE GL.X* EXCLUDE TABLESPACE GL.*Q1 EXCLUDE INDEXSPACE GL.*XQ1 COPY LIST GL ...
  • 31 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Other DBA Enhancements UNION and UNION ALL in Views - finally! DBADM can create views for others - lessens the need for SYSADM Deferred Data Set Creation (ERP) - useful when many tables exist that do not have data in them - particularly useful for ERP (such as, SAP R/3 and Peoplesoft) DDF Suspend and Resume - used to temporarily suspend activity from requesters - does not terminate connections - enables DDL at the server to complete w/o disrupting the app
  • 32 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Other Data Mgmt Enhancements Online DSNZPARM changes (subset, someday all) - can change EDM Pool specification History of object statistics in DB2 Catalog - MODIFY STATISTICS Enhanced Control Center - can generate DDL from the Catalog using Control Center Restart improvement - Restart Light - Data Sharing - - smaller footprint restart performs just recovery portion of DB2 restart - Restart and Thread cancellation - - don’t have to wait for rollbacks of long running jobs to complete
  • 33 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DBA Tools IBM is officially in the DBA tools business Introducing numerous DBA tools for multiple areas such as change mgmt, backup/recovery, performance mgmt, application building... But do not be fooled: the tools are not free the tools are not all new  in some cases, IBM is charging for what used to be free many of the tools are not developed by IBM
  • 34 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Version 7 Business Intelligence Enhancements
  • 35 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Data Warehouse Manager The DB2 Data Warehouse Manager to enable easier data warehouse creation and management  Integrated with DB2 Control Center  Control and govern queries  Help for data cleansing, generating key columns, generating period tables, inverting and pivoting tables  Statistical transformers for subtotals, rollups, cubes, moving averages, regression, etc.  Replication to allow heterogeneous data movement
  • 36 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Version 7 “DB2 Family” Compatibility Enhancements  OS/390  LUNO  Linux, Unix, NT, OS/2  AS/400  VM and VSE  Satellite Edition  DB2 Everyplace
  • 37 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 Version 7 Other Pertinent Details
  • 38 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. DB2 V7 Packaging The utilities will be packaged separately under DB2 V7 Similar to the way the other “tools” shipped with DB2 are packaged (e.g., DB2-PM, Buffer Pool Tool, etc.) Utilities will have a price tag under V7  No more free utilities from IBM  IBM has indicated they will still provide utilities free of charge for Catalog operations/processing
  • 39 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Other V7 Stuff to Know... GA for DB2 for OS/390 V7  most likely first quarter of 2001 Can migrate to V7 directly from V5 without first moving to V6  Will require a specific maintenance level (as yet not determined) Of course, you can also migrate to V7 from V6
  • 40 5/30/2000 ©2000 BMC Software, Inc. All Rights Reserved. Contact Information Craig S. Mullins DB2 Technology Planning Craig_Mullins@BMC.com cmullins@compuserve.com http://www.craigsmullins.com BMC Software http://www.bmc.com Delivering Application Service Assurance for S/390 http://www.craigsmullins.com/cm-book.htm