Hi:
Either PROC CORR or SGSCATTER will work with 3 variables, as shown in the code below, which uses SASHELP.HEART data:
[pre]
ods graphics on;
proc corr data=sashelp.heart plots=matrix;
var weight height systolic;
run;
ods graphics off;
proc sgscatter data=sashelp.heart;
compare y=ageatdeath x=(weight height systolic);
run;
proc sgscatter data=sashelp.heart;
matrix ageatdeath weight height systolic;
run;
[/pre]
Do you have SAS 9.2 and SAS/GRAPH???? If you are only running SAS 9.1.3, ODS GRAPHICS capability was still experimental in SAS 9.1.3 and SGSCATTER was not available. In SAS 9.2 the SG procedures and ODS GRAPHICS became production.
You say that you tried, but the code does not work. Can you share your program and the error message in the SAS log??? Also, for more help from graphics folks, you might consider posting this question (with code examples) in the SAS/GRAPH and ODS GRAPHICS forum.
cynthia