proc report data=submit_updates windows;
columns BRM_RULESET_ID BRM_RULESET_NAME RATE_ASSIGNMENT_NAME STATUS MSG;
compute STATUS;
if STATUS ne 'SUCCESS' then
call define(_row_, "style", "style=[backgroundcolor=red]");
if STATUS eq 'SUCCESS' then
call define(_row_, "style", "style=[backgroundcolor=green]");
endcomp;
run;
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.
Hi:
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.
cynthia
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.