by Robert Sample » Sat Oct 02, 2010 3:21 am
OCCURS DEPENDING ON allows the number of occurrences to vary at run time, however you must specify the maximum number allowed at compile time. There is no way in COBOL to define the maximum number of occurrences at run time -- this must be provided at compile time.