PROCESSING PAGE



Project Directory Button
Analyse Button

The following operations will be performed on the selected files :

The selected files will be analysed for dependencies on other files (e.g. COPY files).

A list of all the files required for successful processing will be prepared.

When a Copy/Replacing statement is encountered, a new file will be prepared and posted in the list.

All the necessary copy files will be moved into your private Working Directory - ready to be translated.

A warning will be issued if one or more Copy files addressed by the program are not available. You will need to make those files available to the system.

It is recommended that you process one program at a time - although when some files are dependent on each other then you can process more than one file in one go. For example, when the complete FD definition for a record structure is present in more than one program - then all such programs will require to be processed in one go. This is not a common situation as in most applications the FD descriptions are kept in a separate file from the main programs. In general the system is capable of processing more than one program at a time - but will use huge system resources - in terms of memory and time of processing.

To Edit a File

On rare occasions you may require to view or modify the prepared files. Double clicking on the file will open the file using the default editor.
PROCESSING STAGE
This page is also the main Control section for the translation process or business rule extraction process. It works on the prepared files in the Working Directory.

The processing is achieved in 3 main stages:
Parsing: Parsing of the programs & Data file. This process helps build a model of the logic and data-structure of the COBOL application.

Analyses: Primarily this is the analysis of the COBOL data files. It is here that the system converges FD descriptions in multiple files, decide on data-types, organize array-sizes, and process redefined fields.

Code Generation: Analyses and modifies the model of the program logic, and finally converts it into code written in a target language.

The three processes or Parsing, Analysing and Code Generation must be activated in the correct sequence.

IMPORTANT

Note that for a given set of programs, if the system fails completing one of the latter stages of translation (e.g. Analysis or Code Generation), the process must be restarted at the Parser stage. If you continue without restart the parser, the system cannot guarantee correct translation of the programs.

FILES TO BE PROCESSED
Delete Button. Deletes the files from the Working directory – Cobol Translation Toolkit will be ready for processing of the next set of COBOL programs.

Document Button. Processes the selected program to a stage that flow chart documentation can be produced. To view the flowchart - go to the 'Documentation' tab. On completion of the program analysis - the system can automatically change to the 'Documentation' tab - if you have the appropriate option selected from the check boxes menu (5 buttons along).

Business Rules Button. Launches Business Rule Extraction tool that allows performing detailed analysis of the program. Business Rule Extraction screen allows filtering program statements by statement type or by usage of data items. It also allows exporting extracted code into custom template.

Translate Button. The selected programs are translated to the desired target language (selected in the setup page). If there are no errors encountered during the translation, then the programs are presented within a syntax highlighted text viewer - before you decide to purchase.

Programs List View. List of programs selected for translation. Please select 1 program at a time.

COPY-files Attached to Program List View. The COPY files which needs to be imported (in-lined) into the body of main program prior to translation. After translation or documentation, no reference to these files may be seen.

CopyFiles Embedded In Program List Box. List of COPY Files which are referenced by the program. Many of these copy files may result in separate classes during the translation. 




Top | Index | Glossary