Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Extents of automatic variables

An extent of an automatic variable cannot be set by a function nested in the procedure where the automatic variable is declared or by an entry variable unless the entry variable is declared before the automatic variable.

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide