How to avoid Primary Space Exceeding 65535 trks for an AVGREC allocation ?
Consider Space Type Conversion from AVR to TRK in the ALLOC environment of the ASR and limit the allocation:
IF &SPACTYPE = 'AVR' THEN DO
SET &SPACTYPE = 'BLK' /* Conversion from AVR to BLK */
SET &SPACTYPE = 'TRK' /* Conversion from BLK to AVR */
IF &PRI > 65535 THEN DO
SET &PRI = 65535