Cool Gen PPT for Tech Sharing

46
Cool:Gen – Con-current Cool:Gen – Con-current Object oriented Object oriented Language : Generator Language : Generator

Transcript of Cool Gen PPT for Tech Sharing

Page 1: Cool Gen PPT for Tech Sharing

Cool:Gen – Con-current Cool:Gen – Con-current Object oriented Language : Object oriented Language :

GeneratorGenerator

Page 2: Cool Gen PPT for Tech Sharing

What is Cool:gen - History

A CASE tool for Rapid Application development which generates code from graphical process models.

Formerly called Information Engineering Facility (IEF), produced by Texas Instruments. It was then bought by Sterling Software who renamed it to Cool:gen.

Computer Associates then acquired from Sterling software and renamed the tool as “Advantage Gen”. CA are supporting Advantage Gen and adding support for J2EE/EJB, enhanced web enablement, web Services and .NetCurrent Version of Advantage Gen 6.5 as on 2003-04-14Cool:gen Version 5.1

Page 3: Cool Gen PPT for Tech Sharing

Advantages of Cool:gen

•Ensure consistency, completeness and conformance to standards.

•Speed up development process (by helping to generate code)

•Reduce costs especially in the maintenance phase.

•Increase productivity

•Can make structured techniques practical.

•End to end tool

•The code written in Cool:Gen can be generated in C, C++, COBOL, JAVA etc without any modification to the code.

Page 4: Cool Gen PPT for Tech Sharing

Data Modeling

Data modeling

• Graphical representation of business data using objects such as Entity types and relationships

Page 5: Cool Gen PPT for Tech Sharing

Data modeling

Page 6: Cool Gen PPT for Tech Sharing

Data model Browser

Page 7: Cool Gen PPT for Tech Sharing

Data model List

Page 8: Cool Gen PPT for Tech Sharing

Jargons in Cool:genSubject Area

•An area of interest to the enterprise centered on a major resource, product or activity and about which it may hold data• Ex : Human resources, Employee information etc

Entity type

•Employee can be defined as an entity type in which all the details of the employee are present.

Attributes

•A characteristic of an entity type.•Ex : For an entity table, attributes could be Employee number, Employee name etc.

Page 9: Cool Gen PPT for Tech Sharing

Jargons in Cool:genRelationship

•A reason of relevance to the enterprise for associating entities of one or more entity types.

Identifiers

•Each value of an identifier uniquely identifies one entity of a given type•Ex : For an entity table, attributes could be Employee number can be the identifier.

Page 10: Cool Gen PPT for Tech Sharing

Jargons in Cool:gen

Process

•A defined business activity whose executions may be defined in terms of inputs and outputs of specific entities.

Procedures

•The method of carrying out one or more level of the processes.

Elementary Process

•An elementary process is the smallest unit of business activity of meaning to the user.

Page 11: Cool Gen PPT for Tech Sharing

Jargons in Cool:genAction Diagram

•An action diagram is a collection of statements of the actions that perform the work of the process.

•It’s the Statement!!!

Page 12: Cool Gen PPT for Tech Sharing

Transformation/Retransformation•Transformation is the automatic creation of general and DBMS-Specific Technical Design (TD) objects from data model objects.

•Transformation implements

•Entity types as tables

•Relationships as constraints

•Identifiers as Indexes

•Attributes as columns

•Many-to-Many relationships as link tables

Page 13: Cool Gen PPT for Tech Sharing

Transformation/Retransformation

•ReTransformation synchronizes the Technical Design (TD) to the data model.

•Can be performed only after the changes have been made in the structure of the data model

Page 14: Cool Gen PPT for Tech Sharing

Design

•Window Design

•Screen Design

•Dialog Design

Page 15: Cool Gen PPT for Tech Sharing

Window Design

•Window

•Area of screen on which information is displayed.

•Dialog box •A window without an action bar.

•Control•A component of window that allows selection of choices•Ex List box, entry field etc

Page 16: Cool Gen PPT for Tech Sharing

Window Design Example

Page 17: Cool Gen PPT for Tech Sharing

Screen Design

•Screen – Block Mode

•Cool:gen supports 80 character, 24 line screens.

•Supports IMS/DC, CICS screens

•Can associate PF keys to the key action

•No client Server concept

Page 18: Cool Gen PPT for Tech Sharing

Screen Design

Page 19: Cool Gen PPT for Tech Sharing

Views

•Views

•A structured collection of attributes used by a process

•Types of views •Import Views.•Export Views•Local Views•Entity Views

•Group Views•Work Set Views

Page 20: Cool Gen PPT for Tech Sharing

Views

Page 21: Cool Gen PPT for Tech Sharing

Dialog Design

•Dialog Design

•Procedure definition – Define procedures•Describes the flow between procedures

•Types of Dialog flow

•Transfer•Link

Page 22: Cool Gen PPT for Tech Sharing

Dialog Design

Link

Transfer

Page 23: Cool Gen PPT for Tech Sharing

Dialog Design

Exit State

Link/ Transfer

Command

View matching

Page 24: Cool Gen PPT for Tech Sharing

Dialog Design

•Exit States

•The exit state is a special variable which maybe set within the procedural logic

•Types of Exit states •Normal•Rollback•Abort

•Exit state messages•Informational, Warning, Error and None

Page 25: Cool Gen PPT for Tech Sharing

Action Statements•ERD Actions

•Actions performed on entity action views•Read, Read Each, Create, Update, Summarize

•Conditional Actions •Actions to direct execution of group statements•If, Case, While

•Repeated Actions•Actions to execute repeatedly•For, Repeat, For each

Page 26: Cool Gen PPT for Tech Sharing

Action Statements•GUI Action statements

•Actions performed on GUI Controls•Open, Close, Sort

•Assignment Statements

•Assigning values to variables•Set, Move

•Control Actions

•Actions that alter the normal flow of execution•Next, Escape

Page 27: Cool Gen PPT for Tech Sharing

Action Statements

Page 28: Cool Gen PPT for Tech Sharing

Cool:gen Functions•To reduce the program complexity and the development time, functions are present.

•String functions

•GUI Functions

•Mathematical functions

•Miscellaneous functions etc

•Eg trim leading, substr, concat, Beep, GetRed, DetBlue, GetGreen, Backgroundcolor, OpenExcelDocument, Sine, Cosine

Page 29: Cool Gen PPT for Tech Sharing

Event processing•Triggering of special processing like click, scroll etc.•Supported only for GUI

•Types of GUI Events•Window/Dialog Box events

•Attach events to windows/Dialog Boxes.•Open, Close

•Control Events•Attach events to controls on windows/Dialog boxes•Click, Scroll

•Special Event•Tirevent – User defined Event

Page 30: Cool Gen PPT for Tech Sharing

Types of Action Diagrams•Process Action Diagram

•Collection of action statements that directly support an elementary process.•Contains Insert, Update, Delete statements

•Common action Blocks•Collection of action statements that support elementary process involved by more than one process

•Procedure step Action blocks•Collection of action statements that implement one or more processes.•Collection of action statements that support data processing on window/Screen

Page 31: Cool Gen PPT for Tech Sharing

Construction

•Provides tools to create an executable application system.

•We need to specify • Environment - Execution environment like Windows, OS/2 etc• Packages - Identifies components of a load module

•GENERATION• Generates the source code in C, C++, COBOL, Java etc

Page 32: Cool Gen PPT for Tech Sharing

Encyclopedia

• Central repository of objects that allows multiple users to work at the same time

• Two types of encyclopedia

1. Host encyclopedia that operates on MVS using TSO

2. Client Server encyclopedia that operates on a network, using one or more workstations

Page 33: Cool Gen PPT for Tech Sharing

Encyclopedia

Page 34: Cool Gen PPT for Tech Sharing

SubsettingDefinition of part of a model that a user wants to change

on the toolset

Key Concepts of subsetting

• Subset definition : Subset definition is the process of selecting objects from a model to include in a subset

• Expansion : Extent to which additional objects for a scoping object are included in a subsetExpansion level could be default, short, Full

• Protection : Protection is the level of authorization on an object.Delete, Modify, Access and read only

Page 35: Cool Gen PPT for Tech Sharing

Subsetting – protection Option

If you request a scoping object with this protection.

but the object is checked out with this protection

you get the object with this downgraded protection

Delete Delete Read

Delete Modify Access

Delete Access Modify

Modify Delete Read

Modify Modify Access

Access Delete Read

Page 36: Cool Gen PPT for Tech Sharing

Check-out

Check Out a Model downloads (copies) a model or subset from the encyclopedia to the workstation. Models and subsets are checked out to a user.

All the objects scoped in a subset are downloaded to the PC.

The model name and the subset name should be the same as scoped.

Page 37: Cool Gen PPT for Tech Sharing

Check-in

Update and Check In Model uploads (copies) a workstation model or subset to the encyclopedia.

When a model is checked in (uploaded) to the encyclopedia, it becomes the active copy.

Two Types of Checkin

• Update and checkin• Update and do not checkin

Page 38: Cool Gen PPT for Tech Sharing

Check-in-Checkout Process

HOST

ENCYCLOPEDIA

IEFDOWNCreates DS‘ief.tran’

File transferAs checkout.trn

Update.trnFile transfer to

‘ief.tran’IEFUP

Page 39: Cool Gen PPT for Tech Sharing

Trace Facility

Trace facility is available for both the GUI (windows) and Screens.

• Can see the step-by-step execution of the program.

• Skip a single line of execution (available only for Screen testing)

• Can run trace before the complete coding is done.

Page 40: Cool Gen PPT for Tech Sharing

INFORMATION ENGINEERING

What is Information Engineering?

A Methodology for developing and maintaining business Oriented Information Systems

Seven Stages Of Information Engineering

Page 41: Cool Gen PPT for Tech Sharing

INFORMATION ENGINEERINGISP : Information Strategy Planning

• Establish an information strategy based on the evaluation of business strategy.• Evaluate the effectiveness of existing business.•Identify data as a corporate resource and establish a basis for its analysis and control

BAA : Business Area Analysis

• Detailed analysis on the particular area of business• Understanding why and how things work the way they do• Data analysis, Activity Analysis

Page 42: Cool Gen PPT for Tech Sharing

INFORMATION ENGINEERING – Activity Dependency

Page 43: Cool Gen PPT for Tech Sharing

INFORMATION ENGINEERING – Activity Hierarchy

Page 44: Cool Gen PPT for Tech Sharing

INFORMATION ENGINEERING

BSD : Business System Design

• Technical solutions to the requirements are evaluated.• Detailed logical design developed which shows clearly how the new system will operate within the business.

TD : Technical Design

• Tailoring of BSD to specific target computing environment• Takes into account the characteristics of OS, DMBS, Hardware etc.

Page 45: Cool Gen PPT for Tech Sharing

INFORMATION ENGINEERINGCon : Construction

• Creation of executable components of the system

TRN : Transition

• Installation of new system in production environment in an orderly manner.

PRD : Production

• Execution of application system satisfying the portion of business requirements identified in the ISP

Page 46: Cool Gen PPT for Tech Sharing

Thank You