Upload
gregory-tyler
View
215
Download
2
Embed Size (px)
Citation preview
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Mantis Conversion
Complicated & Thorough Process Several issues need to be addressed
in the analysis stage These issues are discussed and
resolved with the User
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Basic Conversion Issues
MANTIS is a robust and forgiving language– Define files, maps & routines that do
not exist– Define datanames in the in-line code
These are illegal in COBOL!
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Conversion - Analysis
Check for Redundant Code Re-iterative Process Run until no redundant code
remains Redundant code retained as
comments
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Conversion - Analysis
Completeness check Do all referenced components exist? Files, Screens, Programs etc. Passed back to user for resolution
© Copyright 2006 Domino Software Ltd. +44 7941 452860
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Conversion - Analysis
Component Name Resolution MANTIS allows much longer names MANTIS names can user Cobol
reserved words?
These must be resolved Conversion has defined defaults,
but user has option to override
© Copyright 2006 Domino Software Ltd. +44 7941 452860
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Conversion - Analysis
Check for code validity? MANTIS allows programs to address
data areas that are outside bounds? Array of 10 MANTIS let’s you
reference 11, COBOL doesn’t! Field of 6 bytes, MANTIS let’s you
reference byte 7, COBOL doesn’t!Must be resolved!
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Now the CONVERSION!
Only when all the analysis issues have been resolved are we ready to commence the actual conversion!
© Copyright 2006 Domino Software Ltd. +44 7941 452860
CONVERSION
User Mantis Screens are converted to BMS MAPS
User is provided with source of BMS maps to assemble
User is provided with Cobol Copybooks for the maps
© Copyright 2006 Domino Software Ltd. +44 7941 452860
© Copyright 2006 Domino Software Ltd. +44 7941 452860
CONVERSION
User Mantis File, Database and Interface layouts are converted to Cobol layouts
User is provided with appropriate Cobol Copybooks
© Copyright 2006 Domino Software Ltd. +44 7941 452860
CONVERSION
User Mantis Programs are converted to CICS Cobol
User is provided with clean compiled Cobol source
All code produced is 100% pseudo conversational
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Code Sample - CONVERSE
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Code Sample TXT function
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Code Sample - Logic
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Initial Code Impressions
Taken from a small sample Many long component names, but
this is easily addressed No “out of bounds” errors No “DO” of missing routines No “Dynamic Screen Placement”
e.g. CONVERSE MAP1(XROW,10)
© Copyright 2006 Domino Software Ltd. +44 7941 452860
Conversion - Testing
Good quality on-site engineers Cobol & MANTIS knowledge Business Knowledge CICS expertise (CEDF skills) Access to debugging software