Below is an example of incorrectly using an inline perform statement with a parameterized section. See The PERFORM Statement for more information.
perform a thru c perform c(2) goback . a section. display "In a" . b section. display "In b" . c section (i1 as binary-long). display "In c: " i1 .
There are other scenarios where fall-through may also generate this error - such as when entry points in the same program contain EXIT PROGRAM statements which are set to be processed with the EXITPROGRAM(ANSI) directive (which is the default). In such cases, ensure the entry points are terminated with a goback statement, or compile the program with the EXITPROGRAM(GOBACK) directive.