Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data.

Similar presentations


Presentation on theme: "1 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data."— Presentation transcript:

1 1 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

2 2 CARTOGRAPHY & MODELING cartography – Galois connections

3 3 CARTOGRAPHY & MODELING modeling – logical model

4 4 CARTOGRAPHY & MODELING modeling – semantic model

5 5 121015091249# attributes 11012873# relations 105112 # entity types Semantic model Logical model Physical model MODELING synthesis

6 6 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

7 7 Relational model DB design Semantic model  adding a primary ky to each table (good practise)  relations  foreign keys  relations N-N  intermediate table + foreign key  redefines  separate tables + foreign keys  composed attributes  decomposition  multivaluated attributes  separated tables + foreign keys OR attributes list  name treatment : “-”  “_”, reserved words DATA BASE RE-ENGINEERING

8 8 DATABASE RE-ENGINEERING redefines

9 9 DATABASE RE-ENGINEERING transformations

10 10 Standard SQL or  DB2  Oracle  SQL Server  MySQL  PostgreSql  … DATABASE RE_ENGINEERING generation of target base descriptive objects

11 11 1841121015091249# attributes 144 (FK)‏11012873# relations 147105112 # entity type Relational model Semantic model Logical model Physical model DATABASE RE-ENGINEERING synthesis

12 12 Source logical modelSource physical modelTarget relational model The DB-MAIN transformation functions are maintaining the links between the models evolution steps DATABASE RE-ENGINEERING mapping

13 13 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

14 14 Unloading model creation :  physical model  DB-key  “mvs” meta-properties DATA MIGRATION unloading

15 15 Processing components generation :  PSB  PSB compilation Jcl  Unloading Cobol program  programs compilation JCL  file creation and execution JCL DATA MIGRATION unloading

16 16 Data validation and transformations generation :  type of records description (attributes, lenght, format, …)  programs to validate the conformity of the source data to the target model ( null char…)  transcoding programs for EBCDIC to ASCII conversion, add EOL characters, …  execution scripts scheduling the opertions sequence DATA MIGRATION data validation

17 17 Components generation for loading the target base :  CTL file for the loading utility of DB2, SQL*Loader, …  Shell scripts DATA MIGRATION data loading

18 18 DATA MIGRATION migration validation – functional counters Generation of checksum onto source and target environments

19 19 DATA MIGRATIONdation de la migration – data validation – content comparison process

20 20 DATA MIGRATION migration validation – content comparison Common model

21 21 DATA MIGRATION migration valiation – content comparison

22 22 DATA MIGRATION migration validation – content comparison

23 23 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

24 24  Modification of the data and files “declarations”  Generated code insert  Replacement of the DML verbs by calls to the acces modules COBOL Program Relational DB IMS DB WRXXX.cob WRYYY.cob WRZZZ.cob COBOL Program’ Transformation FETCH CALL DELETE CALL INSERT UPDATE CALL “CBLTDLI” USING … EXEC DLI … USING … PROGRAMS ADAPTATION access modules generation

25 25  Access modules generation ( in this case C++)  Language dependant on the target environment (cobol, java, …) PROGRAMS ADAPTATION access modules generation

26 26 Some DML verbs are not automatically resolved : ex: within IMS SSA not qualified : (GU, GN, GNP without segment name) PROCOPT parameter in the PSB within IDS2 FIND within AREA without record name PROGRAMS ADAPTATION access modules generation

27 27 FIND FIRST USING ART-KEYB. … FIND NEXT RONTB WITHIN DUMMY-RONTB EVALUATE DB-STATUS WHEN "0000000" GET RONTB... **ReVeR: FIND FIRST USING ART-KEYB MOVE 390000 TO REC-CALL-ID OF WR-LOG PERFORM WR-FFXU-ART-KEYB … **ReVeR: FIND NEXT RONTB WITHIN DUMMY-RONTB MOVE 37060000 TO REC-CALL-ID OF WR-LOG PERFORM WR-FNRW-RONTB-DUMMY-RONTB EVALUATE DB-STATUS WHEN "0000000" **ReVeR: GET RONTB MOVE 37070000 TO REC-CALL-ID OF WR-LOG PERFORM WR-GR-RONTB... PROGRAMS ADAPTATION programs source code transformation


Download ppt "1 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data."

Similar presentations


Ads by Google