Volvo Information Technology Dept. 2540 Slide: 1 Volvo Information Technology UNIX OS/390 Win2000 2540 DB2 Version 7 The complete story? Issuer : DB-Team.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Symantec 2010 Windows 7 Migration EMEA Results. Methodology Applied Research performed survey 1,360 enterprises worldwide SMBs and enterprises Cross-industry.
AGVISE Laboratories %Zone or Grid Samples – Northwood laboratory
Accredited Supplier Communications Plan FY09-10 Q1 to Q4 May 2009, v2.0 Home Access Marketing & Stakeholder Engagement Team.
AP STUDY SESSION 2.
1
Worksheets.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Addition and Subtraction Equations
Multiplication X 1 1 x 1 = 1 2 x 1 = 2 3 x 1 = 3 4 x 1 = 4 5 x 1 = 5 6 x 1 = 6 7 x 1 = 7 8 x 1 = 8 9 x 1 = 9 10 x 1 = x 1 = x 1 = 12 X 2 1.
Division ÷ 1 1 ÷ 1 = 1 2 ÷ 1 = 2 3 ÷ 1 = 3 4 ÷ 1 = 4 5 ÷ 1 = 5 6 ÷ 1 = 6 7 ÷ 1 = 7 8 ÷ 1 = 8 9 ÷ 1 = 9 10 ÷ 1 = ÷ 1 = ÷ 1 = 12 ÷ 2 2 ÷ 2 =
David Burdett May 11, 2004 Package Binding for WS CDL.
We need a common denominator to add these fractions.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
CALENDAR.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 10 second questions
1 Advanced Tools for Account Searches and Portfolios Dawn Gamache Cindy Bylander.
The 5S numbers game..
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
© Tally Solutions Pvt. Ltd. All Rights Reserved Shoper 9 License Management December 09.
Break Time Remaining 10:00.
The basics for simulations
PP Test Review Sections 6-1 to 6-6
Employee & Manager Self Service Overview
Look at This PowerPoint for help on you times tables
9 Copyright © 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables.
MySQL Access Privilege System
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
VOORBLAD.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Note: A bolded number or letter refers to an entire lesson or appendix. A Adding Data Through a View ADD_MONTHS Function 03-22, 03-23, 03-46,
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
FAFSA on the Web Preview Presentation December 2013.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
HORIZONT 1 XINFO ® The IT Information System HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
Before Between After.
Benjamin Banneker Charter Academy of Technology Making AYP Benjamin Banneker Charter Academy of Technology Making AYP.
Subtraction: Adding UP
: 3 00.
5 minutes.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
We will resume in: 25 Minutes.
Static Equilibrium; Elasticity and Fracture
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Converting a Fraction to %
Resistência dos Materiais, 5ª ed.
Clock will move after 1 minute
PSSA Preparation.
Select a time to count down from the clock above
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
Registry and Referral System HCW/PSW Staff User Manual
Schutzvermerk nach DIN 34 beachten 05/04/15 Seite 1 Training EPAM and CANopen Basic Solution: Password * * Level 1 Level 2 * Level 3 Password2 IP-Adr.
Presentation transcript:

Volvo Information Technology Dept Slide: 1 Volvo Information Technology UNIX OS/390 Win DB2 Version 7 The complete story? Issuer : DB-Team 2540 Issued :

Volvo Information Technology Dept Slide: 2 Volvo Information Technology DB2 UDB Server for OS/390 and z/OS Version 7

Volvo Information Technology Dept Slide: 3 Volvo Information Technology It started nearly 2 years ago…... In June 2001 we did the first installation in technical test In September 2001 Customer Test (D2VT) was upgraded to V7 Few problems during Customer Test. CAE + Vinfo 18th of November 2001 the subsystems in V201 & V202 was upgraded to V7 and…...

Volvo Information Technology Dept Slide: 4 Volvo Information Technology DB2 Version 7 PROBLEMS!!! Customer Test. Class-package of new DB2-client DB2RTC was delayed, old client (CAE V5.2) causes the Connect Server to Stop. Application abend, fixed by Rebind. Prod-inst. 18/11. Lots of abends, DB2 stops, decision to do a Fallback to V6 (19/11). IBM Fix. Upgrade of D2BM during a weekend to verify the fix. Still Problems. Fallback to V6 again.

Volvo Information Technology Dept Slide: 5 Volvo Information Technology DB2 Version 7 PROBLEMS!!! The Problem. The error seem to be caused by Plan or Packages where latest bind was done in DB2 V2.3. Rebind February. Central Rebind was done of all ‘old’ plans & packages. The 17th of February. All subsystems in Gothenburg up and running on V7

Volvo Information Technology Dept Slide: 6 Volvo Information Technology DB2 Version 7 PROBLEMS!!! DB2RTC. Test of new client and DB2 V7. Char and Varchar field with Local Characters might be truncated if accessed from Office/2K DB2RTC. Did not work together with Business Object OTG. Old version of Gateway did not work with V7. Fallback to V6 in D2O1.

Volvo Information Technology Dept Slide: 7 Volvo Information Technology DB2 Version 7 PROBLEMS!!! DB2RTC. Test of new client and DB2 V7. Char and Varchar field with Local Characters might be truncated if accessed from Office/2K We have added Mr ÅKERBÄRGÖ to our Q.Staff, he helps us to discover codepage-problems. Now ÅKERBÄRGÖ was shown as ÅKERBÄR in Excel NAME in STAFF is VARCHAR (9) =9 Å K E R B Ä R DISABLEUNICODE=1 as bypass, but set in Connect Server disables all client/applications Solution in FP7….FP8….FP9?

Volvo Information Technology Dept Slide: 8 Volvo Information Technology DB2 Version 7 PROBLEMS!!! DB2RTC. Did not work together with Business Object The version of BO(5.1.1) in our Class environment did not have support for V7 FP3 (our DB2RTC level) New package of BO(5.1.3) scheduled but will take time Our Site in Gent has been running DB2RTC towards the same level of BO for a while without problems??? They were running V7 without Fixpacks Bypass, local install of new BO or server-based reports

Volvo Information Technology Dept Slide: 9 Volvo Information Technology DB2 Version 7 PROBLEMS!!! OTG. Old version of Gateway (V4) did not work with V7. Fallback to V6 in D2O1. V8.04 installed, still the same problem While waiting for fix from Oracle we have to run DB2 V6 I 2 subsystems. No fix will be delivered on V8, wait for 9.2 Still some problems in 9.2, and the Case tools used must also be certified with v9.2

Volvo Information Technology Dept Slide: 10 Volvo Information Technology DB2 Version 7 ”PROBLEMS!!!” REPEAT USER COLLID EXIT LOCATORS RESTRICT USING COLUMN EXTERNAL LOCK RESULT VALIDPROC COMMENT FENCED LOCKMAX RESULT_SET_LOCATOR VALUES COMMIT FETCH LOCKSIZE RETURN VARIANT CONCAT FIELDPROC LONG RETURNS VCAT CONDITION FINAL LOOP REVOKE VIEW CONNECT FOR MICROSECOND RIGHT VOLUMES CONNECTION FROM MICROSECONDS ROLLBACK WHEN CONSTRAINT FULL MINUTE RUN WHERE CONTAINS FUNCTION MINUTES SAVEPOINT WHILE CONTINUE GENERAL MODIFIES SCHEMA WITH CREATE GENERATED MONTH SCRATCHPAD WLM CURRENT GET MONTHS SECOND YEAR CURRENT_DATE GLOBAL NO SECONDS YEARS CURRENT_LC_CTYPE GO NOT Harder restriction for Reserved Words gives error at Bind. Enclose Reserved Words within “, Select “NO” Complete list of Reserved Words, please see SQL Reference Insert into T0T261P.VY_RATTIGHET, SQLCODE=-199 DSNT408I SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD SYSTEM, TOKEN ( SELECT WAS EXPECTED

Volvo Information Technology Dept Slide: 11 Volvo Information Technology DB2 Version 7 ”PROBLEMS!!!” Why ? Lack of resources Missing routines for Rebind Complex environment - Dependencies

Volvo Information Technology Dept Slide: 12 Volvo Information Technology Fetch First x Row Only

Volvo Information Technology Dept Slide: 13 Volvo Information Technology Online LOAD Resume + + Availability SQL applications are not drained + Ease of use No need of INSERT programs + Integrity Triggers are fired - Performance Compared to offline LOAD

Volvo Information Technology Dept Slide: 14 Volvo Information Technology DB2 V7 Unicode (UTF8) H å k a n EBCDIC C8D ASCII E56B616E Unicode C3A56B616E

Volvo Information Technology Dept Slide: 15 Volvo Information Technology

Dept Slide: 16 Volvo Information Technology Crossload Maj 2002 Extern applikation utvecklad mot DB2/W2K skulle verifieras/performance testas I zOS Data för volyms-test i DB2/w2k, stora volymer – många tabeller –ont om tidVad gör vi??? XLOAD var svaret !

Volvo Information Technology Dept Slide: 17 Volvo Information Technology Hur används Crossload Crossload används genom att i en std LOAD utility i z/OS via en cursor peka ut en tabell i ett annat DB2 Om detta ligger på annan plattform så får man konvertering av datat på köpet Kolumn-namn måste vara samma eller använd AS //DSNUPROC.SYSIN DD * DECLARE C1 CURSOR FOR SELECT "ID", "DEPT", "JOB", "YEARS", "SALARY", "COMM", "NAME" FROM UDBCONE.Q.STAFF ENDEXEC LOAD DATA INCURSOR C1 RESUME YES LOG YES INTO TABLE STAFF

Volvo Information Technology Dept Slide: 18 Volvo Information Technology Crossload, Prepare CDB INSERT INTO SYSIBM.LOCATIONS ( "LOCATION", "LINKNAME", "PORT" ) VALUES ('UDBCONE','UDBCONE','50000') ; INSERT INTO SYSIBM.IPNAMES ( "LINKNAME", "SECURITY_OUT", "USERNAMES","IPADDR" ) VALUES ('UDBCONE','P','O',' ' ) ; INSERT INTO SYSIBM.USERNAMES ( "TYPE", "AUTHID", "LINKNAME","NEWAUTHID", "PASSWORD" ) VALUES ('O','V00DB21','UDBCONE','DB2ADMIN','DB2ADMIN') ;

Volvo Information Technology Dept Slide: 19 Volvo Information Technology Bind DSNUTIL For XLOAD Function BIND PACKAGE(DSNUTIL) MEMBER(DSNUGSQL) - ACTION(REPLACE) ISOLATION(CS) ENCODING(EBCDIC) - VALIDATE(BIND) CURRENTDATA(NO) KEEPDYNAMIC(NO) - DBPROTOCOL(DRDA)

Volvo Information Technology Dept Slide: 20 Volvo Information Technology Bind Packages For DSNUTIL,SPUFI,DSNTEP2,DSNTIAD In UDB BIND - PACKAGE(UDBCONE.DSNUTIL) MEMBER(DSNUGSQL) ACTION(REPLACE) - ISO(CS) SQLERROR(NOPACKAGE) VALIDATE(BIND) CURRENTDATA(NO) BIND - PACKAGE(UDBCONE.DSNESPCS) MEMBER(DSNESM68) ACTION(REPLACE) - ISO(CS) SQLERROR(NOPACKAGE) VALIDATE(BIND) BIND - PACKAGE(UDBCONE.DSNTEP2) MEMBER(DSNTEP2) ACTION(REPLACE) - ISO(CS) SQLERROR(NOPACKAGE) VALIDATE(BIND) BIND - PACKAGE(UDBCONE.DSNTIAD) MEMBER(DSNTIAD) ACTION(REPLACE) - ISO(CS) SQLERROR(NOPACKAGE) VALIDATE(BIND) BIND - PACKAGE(UDBCONE.CF254) MEMBER(DSNTIAUL) ACTION(REPLACE) - ISO(CS) SQLERROR(NOPACKAGE) VALIDATE(BIND) CURRENTDATA(NO)

Volvo Information Technology Dept Slide: 21 Volvo Information Technology REBIND SPUFI,DSNTEP2,DSNTIAD,DSNTIAUL With DBPROTOCOL(DRDA) In z/OS REBIND PACKAGE(DSNESPCS.DSNESM68) DBPROTOCOL(DRDA) REBIND PACKAGE(DSNESPRR.DSNESM68) DBPROTOCOL(DRDA) REBIND PACKAGE(DSNTIAD.DSNTIAD.(*)) DBPROTOCOL(DRDA) REBIND PACKAGE(DSNTEP2.DSNTEP2.(*)) DBPROTOCOL(DRDA) REBIND PACKAGE(CF254.DSNTIAUL.(*)) DBPROTOCOL(DRDA) REBIND PLAN(DSNESPCS) PKLIST(*.DSNESPCS.DSNESM68) DBPROTOCOL(DRDA) REBIND PLAN(DSNESPRR) PKLIST(*.DSNESPRR.DSNESM68) DBPROTOCOL(DRDA) REBIND PLAN(DSNTIAD) PKLIST(*.DSNTIAD.*) DBPROTOCOL(DRDA) REBIND PLAN(DSNTEP2) PKLIST(*.DSNTEP2.*) DBPROTOCOL(DRDA) REBIND PLAN(DSNTIAUL) PKLIST(*.CF254.DSNTIAUL) DBPROTOCOL(DRDA)

Volvo Information Technology Dept Slide: 22 Volvo Information Technology Crossload, First try CDB-definition Location namn måste vara Databas namn på W2K, Alias fungerar ej Restriktion, Fel Hur är nuvarande status? Currentdata(NO) viktigt Första loaden tog hur lång tid som helst….. Lägg till FOR FETCH ONLY, rena dunderkuren Bindade om package med Currentdata(NO) för att erhålla blockning av data Och hur blev resultatet?

Volvo Information Technology Dept Slide: 23 Volvo Information Technology Crossload, Source Tabell SELECT * FROM UDBCONE.Q.STAFF WHERE ID BETWEEN 80 AND 100 ; ID NAME DEPT JOB YEARS SALARY COMM JAMES 20 CLERK KOONITZ 42 SALES PLOTZ 42 MGR ÅKERBÄRGÖ 10 MGR AÄÖÅABCDE 2540 ÅTEST ABÖÅABCDE 2540 ÅÄEST ÅÄÖÅAB 2540 ÅÄÖST DSNE610I NUMBER OF ROWS DISPLAYED IS 7 DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

Volvo Information Technology Dept Slide: 24 Volvo Information Technology Crossload, Resultat Tabell SELECT * FROM STAFF WHERE ID BETWEEN 80 AND 100 ; ID NAME DEPT JOB YEARS SALARY COMM [....{..| {|[ [ |[ [{ [{|[ [{| DSNE610I NUMBER OF ROWS DISPLAYED IS 7 DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

Volvo Information Technology Dept Slide: 25 Volvo Information Technology Crossload, Hex mot kolumn SELECT ID,HEX(NAME) FROM STAFF WHERE ID BETWEEN 80 AND 100 ; ID F3F3F3F3F 90 3F3F3F3F3F3F3F 100 3F3F3F3F3F 99 B53F3F3F3F433F3FBB 91 3F43BBB53F3F3F3F3F 92 3F3FBBB53F3F3F3F3F 93 B543BBB53F3F DSNE610I NUMBER OF ROWS DISPLAYED IS 7 DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

Volvo Information Technology Dept Slide: 26 Volvo Information Technology Crossload, Problem Krävde att sista kolumnen var ett CHAR-fält Flyttade om ordningen i Select satsen Lösning finns apar PQ54816 / UQ63417

Volvo Information Technology Dept Slide: 27 Volvo Information Technology Crossload, Performance Table MAX REC LENGTH Compress NO.OF RECS TIME Rows/min TAB1101 Y :52:40 260' TAB :25:08 245' TAB3 132 Y :16:50 271' TAB :38:47 384' TAB5 205 Y :47:49 235' TAB6 329 Y :50:33 120' TAB :13:35 370'

Volvo Information Technology Dept Slide: 28 Volvo Information Technology Crossload December 2002 Egenutvecklad applikation med utvecklingsmiljö i DB2/W2K vill flytta upp datat till målmiljön på zOS Nu visste vi svaret – XLOAD ! Och problemen var ju åtgärdade !?

Volvo Information Technology Dept Slide: 29 Volvo Information Technology Crossload, Nya Problem Date fält fungerar ej Olika code page – datum presentation? Nya fel dök upp visade sig ej bero på datum utan återigen var det en bug som var beroende av i vilken ordning kolumnerna låg.

Volvo Information Technology Dept Slide: 30 Volvo Information Technology Crossload Summering En förutsättning för utveckling på Windows plattform med z/OS som tänkt mål-plattform Bra Performance Enkelt att använda Viktigt att definitionerna är samma, tex hade man på windows 4 kolumner på vardera VARCHAR(255) som utgjorde nyckel. Detta fungerade ej på z/OS. Kolumnerna i z/OS definierades som VARCHAR(20) i stället. Detta krävde att substr användes – SUBSTR(PARTNOPREFIX,1,20) AS PARTNOPREFIX Andra hållet behövs också, dvs från z/OS till Windows

Volvo Information Technology Dept Slide: 31 Volvo Information Technology Restart Light Nyttjas i vår Data Sharing miljö Om en lpar går ner startas berörd member upp i annan lpar med Light Option för att släppa lås

Volvo Information Technology Dept Slide: 32 Volvo Information Technology Unload Utility Äntligen en riktig Unload utility!

Volvo Information Technology Dept Slide: 33 Volvo Information Technology DB2 Connect Alternativ ?