Hi:
For information about the X command and EG, see this posting:
http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Ente...
I do not believe that you can run %WINDOW commands on EG either, because EG is a "headless" client application -- that is -- all program code that you submit will be submitted in "batch" mode. %WINDOW is meant to pop open a window in a local SAS/Display Manager session.
This SAS presents summary (on page 7):
http://support.sas.com/rnd/papers/sugi31/egprogrammers.pdf
says:
EG does not support SAS AF, FSP, Insight, or SCL
which means that Display Manager features like the VAR, CAT, LIB and KEYS windows won't "pop" and can't be invoked. I thought %WINDOW windows fell into this same category. You'd have to check with Tech Support to verify that %WINDOW won't work in an EG environment.
When you use EG, if you want to prompt a user for parameters needed to run a program or task, EG has the Parameter Manager, which is designed for this purpose. The advantage of using EG Parameters and the Parameter Manager is that this kind of project could easily be turned into a stored process, whereas a project or program that used %WINDOW could not, as easily, be turned into a stored process.
cynthia