39
Picture This! Using CA 2E with Graphical Tools CA 2E Track Darryl Millington, HawkBridge Pty Ltd (Australia)

HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Embed Size (px)

Citation preview

Page 1: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Picture This! Using CA 2E with Graphical Tools

CA 2E Track

Darryl Millington, HawkBridge Pty Ltd (Australia)

Page 2: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Visualising CA 2E database relations from graphical tools such as CA ERwin and Microsoft Visio increases developer productivity and enhances communication between IT and the business. This session will cover out-of-the box solutions providing a convenient method of transferring data model information from CA 2E data models where a picture conveys a thousand words.

Session Abstract

Page 3: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Darryl MillingtonHawkBridge Pty Ltd

Darryl has worked as a CA 2E developer since 1988 travelling extensively as an independent consultant throughout Australia, New Zealand, USA, UK and Asia

He is a regular speaker at CA conferences and has been speaking on CA 2E-related topics since 1991

Speaker Bio

Page 4: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Introduction Freedom/ERwin Overview Freedom/Visio Overview Visualising CA 2E CA 2E Unique Modeling Language Freedom/ERwin Demo Freedom/Visio Demo Summary Questions

Agenda

Page 5: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Introduction

… in 3 simple steps where a picture conveys

1000 words!

Visualise this text based CA 2E data model relations report …

Page 6: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Visualising CA 2E

> Defined as

> Owned by

> Refers to

> Extended by

Order

Owned byOrder Line Order

Refers toOrder Customer

Extended byCustomer Customer

Export

Page 7: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Visualising CA 2E

> Includes

> Known by

> Qualified by

> Has

IncludesCustomer Audit Trail

Customer

Cust Nbr

Product Price

Effective Date

Customer

Cust Name

Page 8: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Higher level visual design tools do not support the full CA 2E unique data modeling language

Structure Files– Uses Known-by relation for all file relationships– Defined in the physical data model for CA ERwin

Includes Relations– Uses a non-defining relationship for CA ERwin and MS Visio– Uses Is-A relationship for CA Plex– Uses Has relations where entries are renamed for CA Plex

Database Relations– Relationship direction is reversed in CA Erwin

Span Access Paths– Treated as separate access paths for each format– Each access path may be based on a different file

CA 2E Unique Modeling Language

Page 9: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Freedom/ERwin the CA 2E to CA ERwin integration tool Transfers CA 2E data model information to CA ERwin data

models

http://www.hawkbridge.com.au/html/products/freedomerw.aspx

Freedom/ERwin Overview

CA 2EData Model

.xml CA ERwinModel

Page 10: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

10 Copyright © 2015 CA. All rights reserved.

Step 1: Run the HCRTERWERD Command to generate a physical file containing the

exported XML

Page 11: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

11 Copyright © 2015 CA. All rights reserved.

Uses the CA 2E model object select program to select an existing model object

Page 12: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

12 Copyright © 2015 CA. All rights reserved.

Uses the CA 2E model object list commands to edit

the list of selected objects

Page 13: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

13 Copyright © 2015 CA. All rights reserved.

Generates an CA ERwin compliant XML import file

Page 14: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

14 Copyright © 2015 CA. All rights reserved.

Step 2: Transfer the generated physical file to the IFS or PC

Page 15: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

15 Copyright © 2015 CA. All rights reserved.

Specify a standard ASCII file transfer

Page 16: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

16 Copyright © 2015 CA. All rights reserved.

Exclude the end of file indicator

Page 17: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

17 Copyright © 2015 CA. All rights reserved.

Message indicates file transfer has been successful

Page 18: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

18 Copyright © 2015 CA. All rights reserved.

Step 3: Open XML file directly in CA ERwin without the need for other intermediate

tools

Page 19: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

19 Copyright © 2015 CA. All rights reserved.

Message indicates XML import has been successful

Page 20: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

20 Copyright © 2015 CA. All rights reserved.

Use the Layout Entire Diagram option to produce optimal layout

Page 21: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

21 Copyright © 2015 CA. All rights reserved.

Open XML File in CA ERwin

21

Logical model shows human readable names for objects with model view in left

pane

Page 22: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

22 Copyright © 2015 CA. All rights reserved.

Open XML File in CA ERwin

22

Physical model shows internal system names for objects with domain view in left

pane

Page 23: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

23 Copyright © 2015 CA. All rights reserved.

Open XML File in CA ERwin

23

Logical model with alternate diagram convention

Page 24: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

24 Copyright © 2015 CA. All rights reserved.

Open XML File in CA ERwin

24

Relationship details showing redirected entry rolenames

Page 25: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

25 Copyright © 2015 CA. All rights reserved.

Open XML File in CA ERwin

25

Relationship key group details showing member attributes

Page 26: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Freedom/Visio Overview

Freedom/Visio the CA 2E to Microsoft Visio integration tool Transfers CA 2E data model information to Microsoft Visio

diagrams

http://www.hawkbridge.com.au/html/products/freedomvso.aspx

CA 2EData Model

.xml Microsoft VisioDiagram

Page 27: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

27 Copyright © 2015 CA. All rights reserved.

Generate XML File

27

Step 1: Run the HCRTVSOERD Command to generate a physical file containing the

exported XML

Page 28: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

28 Copyright © 2015 CA. All rights reserved.

Generate XML File

28

Uses the CA 2E model object select program to select an existing model object

Page 29: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

29 Copyright © 2015 CA. All rights reserved.

Generate XML File

29

Uses the CA 2E model object list commands to edit

the list of selected objects

Page 30: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

30 Copyright © 2015 CA. All rights reserved.

Generate XML File

30

Generates an Microsoft Visio compliant XML import file

Page 31: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

31 Copyright © 2015 CA. All rights reserved.

Transfer XML File to PC

31

Step 2: Transfer the generated physical file to the IFS or PC

Page 32: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

32 Copyright © 2015 CA. All rights reserved.

Open XML File in Microsoft Visio

32

Step 3: Open XML file directly in Microsoft Visio without the need for other

intermediate tools

Page 33: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

33 Copyright © 2015 CA. All rights reserved.

Open XML File in Microsoft Visio

33

Use the Lay Out Shapes option to produce optimal layout

Page 34: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

34 Copyright © 2015 CA. All rights reserved.

Open XML File in Microsoft Visio

34

Implicitly selected entities which were not in the initial list are grey with diagonal

stripes

Page 35: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

35 Copyright © 2015 CA. All rights reserved.

Open XML File in Microsoft Visio

35

Select one or more entities to run the “Show Keys Only” or “Show Attributes”

add-in against

Page 36: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

36 Copyright © 2015 CA. All rights reserved.

Open XML File in Microsoft Visio

36

Re-use the Lay Out Shapes option to produce optimal layout

Page 37: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

37 Copyright © 2015 CA. All rights reserved.

Open XML File in Microsoft Visio

37

Diagram can now be manually adjusted to fine tune the layout

Page 38: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Session Summary

Text based modeling language of CA 2E for defining database relations is quite powerful

In large data models it can become difficult to appreciate and understand object relationships

Conversion to a graphical data model such as CA ERwin or Microsoft Visio where a picture can convey a thousand words increases developer productivity

Page 39: HawkBridge - Picture This! Using CA 2E with Graphical Tools v4

Questions?