Hi
The ANCHOR= option creates numbered NAME attributes that all start with the same prefix string...so IDX1,IDX2, IDX3 or PILOT1, PILOT2, or PILOT3.
To do what you want to do (have each NAME attribute be a different city), you would need to move into the world of SAS Macro processing and in addition, investigate how to append content to an HTML file using the NO_TOP_MATTER and NO_BOTTOM_MATTER sub options.
However since you can probably predict what by group will get which IDX#, do you really need this level of control???
Cynthia