AVGREC is a JCL parameter used with the SPACE parameter to specify dataset allocation in terms of average record length and record count. When AVGREC is specified, the SPACE value is interpreted as the number of records rather than tracks or cylinders, and the system calculates the required physical space based on the average record size.