Application Development using CASE tool Computer Aided Software Engineering, Coolgen, CA GEN, IEF, Composer, CBD, Block Mode, Batch Mode, Client Server, Mainframe, zServer, Erwin
Introduction
CA Gen enables application development on Windows workstations and supports application deployment to integrate multiple platforms on z/OS (CICS and IMS), UNIX, Linux, Windows, .NET and J2EE.
CA is Computer Associates. And CA Gen is one of their product.
14) CA GEN, CoolGEN and testing best practice
CA GEN, COOLGEN and testing best practice
During testing normally there is a need to run monthly jobs, yearly jobs and jobs tied to some specific dates.
This kind of testing is called date simulation.
Best Practice:
The date simulation can be brought about in two different ways:
1. For the client the system date can be set to the required date in the individual clients
2. For the server, the date exit routine TIRDATC/TIRDATX can be written in assembly to accept the date from a file.
The input file can be updated to the required date before executing the job.
13) Gen, CA-GEN, COOLGEN and DB2 related issues
GEN and DB2 Related issues
The SQL generated by CA GEN, COOL:Gen is not always the best and in most cases there is an need for the following:
• Creation of new index
• Rewrite the READ action block to access existing indexes
• Change table/index parameters
• Need for partitioned tables
Best Practice:
Once the servers are ready for execution, the bind for the plans are done with EXPLAIN option.
Each and every SQL is scanned for the following:
• Does it result in a join, if so can it be avoided
• Does it use an existing index, if not how to influence the SQL to make use of it
• Would creation of an index improve the performance
• Change of parameters (for eg: for batch jobs executing without any overlap, the lock can be escalated to table level and combined with appropriate acquire and release parameters in the bind step the performance can be improved).
12) What are the different CA Gen, aka COOLGEN services when in component based environment ?
Below is just an example. Your client side may have different architecture. Using these component services a transaction is built. And the whole development code is isolated from each other and have a specific purpose. Example - D service will have all the reads, create, update, delete statements on entities. So during maintenance it needs to be touched only if affected database is changed.
Types -
H Service - Test Harness. To test the transaction
I Service - Interface. It is a Public Operation – the interface to the service
M Service - Private Operation Manager – the director or traffic cop
C Service - Contains isolated logic. e.g. editing of imports or doing calculations, client side
T Service - Translator: Transient view to Persistent view
D Service - Data Access – goes against the database
P Service - Translator: Persistent view to Transient view
X Service - External Wrapper – an EAB that interfaces with an existing program
S Service - Error Processor – translates Exit States to Return Codes
Subscribe to:
Posts (Atom)