Language & database transformation tools are designed for the analysis and transformation of computer languages and databases. As most organisations have discovered using an automated parser for common computer languages is very complex and prone to error, as they are not well suited for parsing languages that are context- dependent. Often getting the input into the system using a correct and accurate parse tree utility is difficult so more ad hoc approaches are adopted.
Below we have some of the tools to help us with the transformations.
The migration of IDMS databases to relational DBMS alternatives can be undertaken in a number of ways. When addressing these projects by means of automation tooling, there are generally two approaches that may be followed.
These are:
1. The “Native Migration” approach, which involves converting the IDMS DML code to SQL and the database from IDMS to its relational DBMS equivalent.
2. Retaining the application in its original form and providing an interface mechanism that interprets existing IDMS DML requests for data which has since been migrated to a relational DBMS.
Our approach is based on the second of the above-mentioned approaches and is implemented as follows:
PL/1 Java Tools provides a complete conversion set for quickly and easily transfer and build existing PL/1 applications for Windows, UNIX and Linux platforms.
Automatic conversion process There are only a few features which do not translate automatically. In most cases a converted PL/I program is ready to go code. Eventual untranslated parts are clearly indicated in a log file and left in the code for manual corrections
All standard file types are supported including stream I/O General system dependent file definitions are included as common copybook files and are thus easy to change according to the current environment.
Embedded SQL and command level CICS code is adjusted for pre-compilers
Co-operative solution as an option In co-operative solution all SQL processes are collected as a separate SQL module for an application.
Original PL/I structure of code is preserved All INCLUDE files of PL/I are transformed together with the main code, creating corresponding COPYBOOK files for with same names. INCLUDE files which contain both declaration and processing statements are divided as two separate copybook files into two different libraries (subdirectories). Internal procedures and functions are changed as separate sections. Local variable of procedures functions or blocks are handled accordingly. Code indenting is done automatically and the indenting depth can be set with a parameter.
Clear structural comments Besides your own in-line comments clear structural comments are added to clarify the original source code.
Many organizations have made a significant investment in Software AG’s Natural/ADABAS technology, the question of what the future might hold is of great relevance.
For those organizations with key investments in Natural/ADABAS technology and for whom Microsoft technology is regarded as strategic, MigrationWare has a solution that will result in the replacement of Natural/ADABAS with Microsoft C# and SQL Server. This MigrationWare solution provides an automated approach to the conversion of Natural and ADABAS, providing functionally equivalent applications on the chosen .NET target environment.
The generated code is designed to be maintainable and all inline comments are preserved, thus ensuring that any documentation that may exist in the original source code is retained.
All code is converted automatically with well above 90% accuracy thereby minimizing the need for any manual intervention.