BookmarkSubscribeRSS Feed
SASPhile
Quartz | Level 8
proc globstmtc is currently executing.This is message is not letting me run the other procs.is there a work around for this?
5 REPLIES 5
bentleyj
Calcite | Level 5

I get this under certain circustances and have to restart my SAS Session.   Guess nobody knows what it means... I'll ask SAS Tech Support and post an answer.

bentleyj
Calcite | Level 5

Reply from SAS Tech Support

------------------------------------------------------------------------------------------------

We can replicate a similar message that you are seeing.  Start a SAS session and submit the following:

data a; a=1; run;

/* title 'test' ; */

proc report data=a;

title 'test' ;

run;

Then without X'ing out of the PROC REPORT results window submit the following statement:

%let b=1;

A window pops up with the following note which is confusing since proc globstmtc is not being used:

NOTE: PROC GLOBSTMTC is currently executing.  All subsequently submitted statements will not begin executing until its completion.

If the TITLE statement is removed or moved before the PROC REPORT the note says PROC REPORT as expected.

This is a bug in the system. SAS is not corrupted at all but just the current executing PROC name is temporarily changed due to a global statement being executed in the PROC REPORT(in this case).  It could have been PROC CONTENTS.

We are fixing this at 9.4.  The possible workaround is to move any global statement in your PROC outside of the PROC.

art297
Opal | Level 21

Thanks for passing this on.  Of course, an obvious work around is to include the nowd option whenever running proc report.

Sas_Pro
Calcite | Level 5

Hi,

This is old discussion, however, I got the same error message. (I'm SAS 9.3 user).

I used a simple query without any %global statement, just records to be filtered for specific dates.

Despite the error message, it still came through. But just wondering what does GLOBSTMTC is ?

Regards,

:smileyconfused:

PeterKellberg
Obsidian | Level 7

Hi,

We are (sporadic) experiencing the same problem here in Statistics Denmark (SAS 9.3) - without using PROC REPORT. Is it possible for you to reproduce this "feature" and be so kind to give us the code? A compact example using SASHELP.CLASS could be nice i.e:

data test;

   set sashelp.class;

   date=today();

run;

Regards,

Peter

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 3646 views
  • 1 like
  • 5 in conversation