Your SAS programs, embedded in web apps and elsewhere

an error of "the stored process must check for errors with the macro call %mastatus(&_stpwork.status.txt)" occurs while the macro "mastatus" is added in the code

Reply
New Contributor
Posts: 4

an error of "the stored process must check for errors with the macro call %mastatus(&_stpwork.status.txt)" occurs while the macro "mastatus" is added in the code

I created a empty stored process like this:

%stpbegin;

data &outtable;

     set &intable;

run;

%MaStatus( &_stpwork.status.txt);

%macount(&outTable);

%stpend;

and then register this process in SMC.

But when I run the process in MA process node,an error occurs like.

errors.png

What's the problem。。。。。。

SAS Employee
Posts: 1

Re: an error of "the stored process must check for errors with the macro call %mastatus(&_stpwork.status.txt)" occurs while the macro "mastatus" is added in the code

Hello, my answer comes a little late, but it might be usefull for people running into the same issue in the future.

I ran into exactly the same issue, and for us it was solved by marking the "package" checkbox of the used Stored Process.

Cheers,
Sven

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