How do I allocate more disk space in the SAS WORK data library for my batch job?


You can do one of the following. Utilize the WORK JCL parameter provided in the Institute supplied cataloged procedure. You should determine the default size of your WORK library before attempting to use the parameter. To increase the size of the WORK library, use the WORK= parameter on your EXEC statement:

//STEP EXEC SAS,WORK='1000,500'

If the Institute supplied cataloged procedure has been modified and the WORK= parameter is not valid, you can override the WORK DD statement as follows:

//STEP EXEC SAS //WORK DD UNIT=DISK,SPACE=(TRK,(10,5)) //SYSIN DD *