Hello RudyII,
To conditionally grant access or not; or permit a Load or not; you will need to write a SARSRQUX (user exit).
We do not have an example that does exactly what you want but we have 4 examples of the SARSRQUX exit in the CVDEOPTN library that you can use as guides.
First you will check for the "L" command (see SARSRQU4) . Then check the GCRLNES (see SARGCR in the CVDEMAC library) variable for the number of lines in the report that you want to load back. If the number of lines is above the limit you have chosen, then reject the request or change it to load into an external dataset. The exit could also issue a message informing the user that the report is too large to load back to disk.
Regards,
Cheryl Stimpfl
Principal Support Engineer
CA Technologies Technical Support
Tel: +1-609-583-9671 Option 1Cheryl.Stimpfl@ca.com