>>-MAXGEN--(size)----------------------------------------------><
The MAXGEN option specifies the maximum number of intermediate language statements that should be generated for any one user statement and will cause the compiler to flag any statement where this maximum is exceeded.
The number of intermediate language statements generated for any user statement may vary depending on the compiler release, the compiler maintenance level, and the compiler options in effect. This option is intended to be used only to help find statements for which excessive amounts of code are generated and which thus may indicate that they are perhaps are poorly coded.
However, it should be noted that using a preprocessor may cause the number of intermediate language statements generated for some statements to be very large. In such a situation, it may be better either to set the MAXGEN threshold to be larger or to use the LISTVIEW(AFTERALL) option.
The default is MAXGEN(100000).