I assume you are typing this into the program window, since I don't think there is a quantile regression task in EG.
The issue is not what version of EG you are using, but the version of SAS. The EFFECT statement was added to QUANTEREG in 9.22.
You have to have correctly specified knots, which depend on the data values (the AGE values in your example). Delete the KNOTMETHOD= option to see if the problem is the specification of knots, or whether the EFFECT statement is invalid.
For earlier versions of SAS, try using the EFFECT statement in PROC GLMSELECT and use the OUTDESIGN= option to output the dummy variables to a data set. For an example, see the top of p. 5 in this paper: http://support.sas.com/resources/papers/proceedings10/329-2010.pdf