Primary Space Exceeds 65535 trks for AVGREC allocation
search cancel

Primary Space Exceeds 65535 trks for AVGREC allocation

book

Article ID: 40640

calendar_today

Updated On:

Products

Allocate DASD Space and Placement

Issue/Introduction

How to avoid Primary Space Exceeding 65535 trks for an AVGREC allocation ?

 

Resolution

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 

   END 

 END