The documentation for CFILE Record Type 2005 is misleading. Since it can handle a Resource Permit up to 255 characters, the last line of the entry should look like this:
57 300 255 XAUTH RESOURCE (continued on next record if needed)
The value '300' represents the maximum Record Size for a CFILE Record. So on a single Record we can represent a Resource Permission with a length up to
244 characters. If the PERMIT is greater than 244 characters, then CFILE will generate a continuation Record for the remainder of the data, and the initial Record will be marked with a 'C' in column 12, as documented in the CFILE Record Format description.