|
This page allows selecting
files that you need to translate or document and move them to the project
directory. The system will do a minor lexical
analysis/alterations on the COPIED files (not the original files).
COBOL Program Files List Box:
Select the drive where your
programs/copy files reside.
Select the directory where your programs/copy files reside.
Hi-light all your programs/copy files and click on the "Prepare" button to
start the pre-processor. The Pre-Processor will put changed version of your
files in the Repository Directory as listed in the SETUP SCREEN.
Double clicking on a file in the File-list box will open
the file using the default editor.
Prepare Button:
Click on the "Prepare" button
to prepare all the selected files in the Program Files list box.
Edit Button:
Click on the "Edit" button to
open a source COBOL file using the default editor
Launch DataGen Button:
Click on the Launch DataGen button to launch the special utility for generation
of stub-programs for FD and WS definitions.
Prepared Files List Box:
The current project"s prepared
files are listed in the right hand list box.
Double clicking on a file in the list box will open the file using default
editor.
Clear Button:
Deletes all files
in the Repository Directory.
Edit Button:
Click on the "Edit" button to
open a prepared file from the Prepared Files List Box using the default editor
Prepared Files Format:
COBOL Translation Toolkit prepares COBOL modules by doing
the following:
- Remove all
non-required tabs / spaces, characters in columns 1- 6 and columns 72
onwards (depending on your COBOL Columns
Settings.
- Replace ( and ) characters with '{' and '}' characters
respectively.
- Replace '-'
character with '_' character in all but where used as an
negative sign.
- Replace '.'
character with ' \.' characters in all but where used as an decimal sign.
- Quote the
Picture elements (e.g. 01 var1 pic 99. will be
translated to 01 var1 pic "99" \.)
- Replace
comment sign '*' at column 7 with '// ' characters.
- USE ';;' internally to represent comments - parser module
will not pick these up.
Top | Index | Glossary
|