CPG3 Modernization Guide
CPG3 is a case/code generation product by Lattwein. Explore technical details, modernization strategies, and migration paths below.
Product Overview
CPG3 is a code generation tool developed by Lattwein, primarily used for creating CICS and batch applications on z/OS and zVSE/VSEn platforms.
Organizations can use CPG3 to accelerate application development, reduce manual coding, and ensure consistency across program modules.
Modernization Strategies
Rehost
- Timeline:
- 6-12 months
Lift-and-shift to cloud infrastructure with minimal code changes. Fast migration with lower risk.
Refactor (Recommended)
- Timeline:
- 18-24 months
Optimize application architecture for cloud while preserving business logic. Best ROI long-term.
Replatform
- Timeline:
- 3-5 years
Complete rewrite to cloud-native architecture with microservices and modern tech stack.
Frequently Asked Questions
General
What does CPG3 do?
CPG3 is a code generation tool that creates CICS or batch applications. It expands upon CPG2 by generating small, modular program modules. It also supports access to database systems such as ADABAS, DB2, and IMS.
Is this a system, application, or tool?
CPG3 is a tool set designed to automate the creation of application code. It provides a framework for generating modular program components and simplifies database interactions.
What types of organizations use this?
Organizations that require rapid application development, particularly those using CICS or batch processing on z/OS or zVSE/VSEn, can benefit from CPG3. It is suitable for organizations that need to generate code for accessing databases like ADABAS, DB2, and IMS.
When should we consider CPG3?
A company should consider using CPG3 when they need to accelerate application development, reduce manual coding efforts, and ensure consistency across program modules. It is particularly useful when integrating with existing database systems like ADABAS, DB2, and IMS.
What are the alternatives to CPG3?
Alternatives to CPG3 include other code generation tools and application development frameworks that support mainframe environments. Examples include CA Gen, IBM Application Generator, and other similar products designed for rapid application development on z/OS and zVSE/VSEn.
Technical
What infrastructure is required?
CPG3 runs on z/OS and zVSE/VSEn platforms. It is designed to generate code that can be executed within CICS or batch environments on these operating systems. It requires access to database subsystems such as ADABAS, DB2, or IMS.
For mainframe products: Does this run in an LPAR?
CPG3 is designed to run within an LPAR on z/OS. It leverages the capabilities of the operating system and its subsystems to generate and execute application code. It may require specific configurations within the LPAR to access necessary resources.
What databases does CPG3 support?
CPG3 generates code that interacts with database systems. It supports ADABAS, DB2, and IMS. The generated code includes the necessary calls and structures to access and manipulate data within these databases.
How does CPG3 relate to CPG2?
CPG3 expands upon the functionality of CPG2 by generating smaller, more modular program modules. It provides enhanced capabilities for code generation and database integration compared to its predecessor.
Business Value
How does CPG3 provide business value?
CPG3 accelerates application development by automating code generation. This reduces the time and effort required to create new applications or modify existing ones. It also ensures consistency and reduces errors in the generated code.
How does CPG3 reduce development costs?
By automating code generation, CPG3 reduces the need for manual coding, which can be time-consuming and error-prone. This allows developers to focus on higher-level tasks and reduces the overall cost of application development.
How does CPG3 ensure application consistency?
CPG3 helps organizations maintain consistency across their applications by generating code from predefined templates and rules. This ensures that all program modules adhere to the same standards and reduces the risk of inconsistencies.
Security
How does CPG3 handle security?
CPG3 generates code that leverages the security features of the underlying operating system and database systems. It does not provide its own security mechanisms but relies on the security controls provided by z/OS, zVSE/VSEn, ADABAS, DB2, and IMS.
How is access control managed?
Access control is managed through the security mechanisms provided by the operating system and database systems. CPG3 generates code that adheres to these access control policies, ensuring that only authorized users can access sensitive data.
Does CPG3 provide encryption?
CPG3 does not provide built-in encryption capabilities. Encryption is handled by the underlying database systems and operating system. The generated code leverages these encryption mechanisms to protect sensitive data.
Operations
What are the ongoing operational requirements?
CPG3 requires ongoing maintenance to ensure compatibility with the underlying operating system and database systems. This includes applying patches and updates to the code generation tool and the generated code.
What level of technical expertise is required?
Implementing CPG3 requires technical expertise in code generation, mainframe environments, and database systems. It is important to have experienced personnel who can configure and maintain the tool and the generated code.
What are common implementation challenges?
Common implementation challenges include ensuring compatibility with existing systems, configuring the code generation tool to meet specific requirements, and training developers on how to use the tool effectively.
Ready to Start Your Migration?
Download our comprehensive migration guide for CPG3 or calculate your ROI.