A general-purpose RDS output macro