DATA Step, Macro, Functions and more

proc globstmtc,What does this mean?

Reply
Super Contributor
Posts: 673

proc globstmtc,What does this mean?

proc globstmtc is currently executing.This is message is not letting me run the other procs.is there a work around for this?
Occasional Contributor
Posts: 5

proc globstmtc,What does this mean?

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.

Occasional Contributor
Posts: 5

proc globstmtc,What does this mean?

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.

PROC Star
Posts: 7,474

proc globstmtc,What does this mean?

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

New Contributor
Posts: 2

Re: proc globstmtc,What does this mean?

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:

Occasional Contributor
Posts: 17

Re: proc globstmtc,What does this mean?

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

Ask a Question
Discussion stats
  • 5 replies
  • 2418 views
  • 0 likes
  • 5 in conversation