Sciweavers

PASTE
1999
ACM

Identifying Procedural Structure in Cobol Programs

14 years 4 months ago
Identifying Procedural Structure in Cobol Programs
The principal control-flow abstraction mechanism in the Cobol language is the PERFORM statement. Normally, PERFORM statements are used in a straightforward manner to define parameterless procedures (where global variables are used to pass data into and out of procedure bodies). However, unlike most procedural constructs, distinct PERFORMed procedures can share code in arbitrarily complicated ways. In addition, PERFORMs can also be used in such a way as to causetransfers of control that do not correspondto normal call/return semantics. In this paper, we show how a Cobol program can be efficiently transformed into a semantically-equivalent procedurally well-structured representation, in which conventional procedures (i.e., with the usual call and return semantics and without code sharing) and procedure call statements replace PERFORMed code and PERFORM statements. This transformation process properly accounts for the non-procedural control flow that can result from ill-behaved PERFO...
John Field, G. Ramalingam
Added 03 Aug 2010
Updated 03 Aug 2010
Type Conference
Year 1999
Where PASTE
Authors John Field, G. Ramalingam
Comments (0)