Hi:
One issue you could be running into is that only the HTML file will be written to the /mypath directory. The image file (gkpi13.png) seems to be written to a directory to which you (or your job) does not have sufficient write authority.
This Tech Support note and the documentation link explain how PATH= and FILE= work in the creation of SAS/GRAPH output:
http://support.sas.com/kb/23/638.html
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a003152012.htm
One modification you might try is:
[pre]
ods html path= "/mypath" (url=none)
file="&name..html";
or
ods html path= "/mypath" (url=none)
gpath="/mypath" (url=none)
file="&name..html";
[/pre]
You might be having other issues, as well. I notice that the default image location is in a Lev1 sub-directory -- this is generally one of the directory names in a SAS Enterprise Intelligence Platform installation. I wonder whether you are trying to write a stored process to create your GKPI output??? Usually, stored processes use _WEBOUT special reserved fileref instead of hard-coded file and path names for ODS output.
cynthia