Help using Base SAS procedures

Windows option in PROC Report

Reply
Contributor ykk
Contributor
Posts: 24

Windows option in PROC Report

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.

SAS Super FREQ
Posts: 8,862

Re: Windows option in PROC Report

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

Ask a Question
Discussion stats
  • 1 reply
  • 300 views
  • 0 likes
  • 2 in conversation