the reason is that you are using
ODS GRAPHICS / RESET;
before each call. The RESET option resets the filename counter, which causes the next graph to overwrite the previous.
To fix this problem, put ODS GRAPHICS / RESET IMAGEMAP at the top of your file, but nowhere else.
... View more