CASA provides ephemeris data for the Solar System objects used in the setjy task so this is generally not need to do for a general user. But in a case that the tables need to be regenerated or updated the following is a short description of the procedure.
request_from_JPL() - request ephemerides via email for a object for a given date range. Or alternatively (particularly for an SS object not supported in setjy such as a comet), you can get it via JPL-Horizons Web interface (saved as a plain text) but be sure to request the quantities =1,14,15,17,19,20,24.
T.Tsutsumi 2014-10-07