In mainframe JCL, sequential files are limited to 16 extents while VSAM (Virtual Storage Access Method) files can extend up to 123 extents. An extent is a contiguous set of disk tracks allocated to a dataset. When a file grows beyond its initial allocation, it can extend to additional extents up to these system-defined limits.