After i run the code, the log shows ''ERROR: Procedure CAPABILITY not found." How can i fix it?
Nothing you can do. PROC CAPABILITY and all SAS/QC are not part of SAS University.
PROC CAPABILITY is very similar to PROC UNIVARIATE, which is part of Base SAS. You can run PROC UNIVARIATE in the SAS University Edition. Look at the documentation and see if you can use PROC UNIVARIATE for your computation.