With traditional (such as dev=gif or dev=png) SAS/Graph, you should be able to set a "locale" and use the 'nl' formats, such as ...
options locale=german_germany;
data foo;
format date nldatemn.;
date='01jan2010'd; value=8.3; output;
date='01feb2010'd; value=5.2; output;
run;
proc gchart data=foo;
hbar date / discrete type=sum sumvar=value;
run;
-----
If this technique is working for you in EG but not in Stored Process, is it possible that your Stored Process is using a different device than your EG job? For example, maybe EG is using device=gif or device=png (in which *all* the SAS/Graph options, formats, etc work), and perhaps the Stored Process is defaulting to device= activex/actximg or device= java/javaimg (in which many options/formats are not supported, or are only partially supported)?
I would suggest setting up EG to use device=png, and also hard-coding your Stored Processes to use device=png. I'm copy-n-pasting below a note I wrote to myself about how I convert my SAS jobs to Stored Processes (it's not real obvious how to do it, otherwise) - hopefully it will be helpful to you also ...
=====
Modify My SAS Sample
--------------------
First, copy the sas job (ie, my sample) to the directory where you're
going to keep your stored processes - in my case that was ...
C:\MySASData\StoredProcesses\esdmap_stp.sas
My sas samples are hard-coded to run standalone, and use ods html
to write out the gif (or png) and html file to the current directory -
you'll need to remove that hard-coding, and add a few lines with the
magic-incantations to let it run as a stored process...
First, I deleted the following line at the top of my sas job...
filename odsout '.';
Then I deleted/replaced the following ods lines...
ODS LISTING CLOSE;
ODS HTML path=odsout body="&name..htm" (title="Some text") style=minimal;
With the following stored-process-specific lines. These special macro
variables are *very* important, and they tell stpbegin to run the job
using dev=gif (or png) and to keep the titles inside the graph (otherwise
the stored process will default to device=activex, and the titles will
be outside the graph - this has confused many people, because
stpbegin ignores your normal device=gif (or png) and "ods gtitles" statements).
So, just take my word for it -- this is *very* necessary! 🙂
(Note - as of v9.2, it's probably preferable to use dev=png than gif
because png supports 16-million colors, and gif only supports 256.
And also, if you're using a style other than 'minimal', specify that
style here - I use style=minimal a lot, but you might prefer
something different)
%let _GOPT_DEVICE=png;
%let _ODSOPTIONS=gtitle gfootnote style=minimal;
%stpbegin;
And at the end of the sas job I deleted/replace the following ods lines ...
ods html close ;
ods listing ;
With the following line...
%stpend;
=====