Interesting. Thanks. Is there a simple way to avoid the copy-paste from the DATA step output to the PROC SGPLOT Y2AXIS statement? I'm guessing using the DATA step to write the code fragment into a macro variable would do it.