12-15-2014 06:19 PM
proc report data=submit_updates windows;
columns BRM_RULESET_ID BRM_RULESET_NAME RATE_ASSIGNMENT_NAME STATUS MSG;
if STATUS ne 'SUCCESS' then
call define(_row_, "style", "style=[backgroundcolor=red]");
if STATUS eq 'SUCCESS' then
call define(_row_, "style", "style=[backgroundcolor=green]");
I had written small code using proc report with windows option.When I am trying to run the program I am getting the below error.
Error: Unable to initialize window environment.
ERROR: The SAS System stopped processing this step because of insufficient memory.
Can you please help in fixing the issue.I was running this code from SAS EG.
12-15-2014 10:23 PM
When you are using SAS Enterprise Guide, code is submitted in "batch" mode to SAS on either the local machine or the server machine. This means that many "interactive" windows, such as the PROC REPORT interactive REPORT window does NOT work in EG "batch" mode. Enterprise Guide has the List Report Wizard, which surfaces some, but not all of the same functionality as the PROC REPORT window.
If you have SAS on Windows on a local installation, then your code will open the interactive window in SAS Display Manager. Otherwise, in EG, you will have to change your WINDOWS option to NOWD in order for the code to run correctly. But, the interactive window will not open in EG.