Statistical programming, matrix languages, and more

Question about "call execute statement" with PROC IML and SAS/IML Studio

Reply
N/A
Posts: 0

Question about "call execute statement" with PROC IML and SAS/IML Studio

Hello,

I'm testing the CALL EXECUTE statement as in the following very simple example with PROC IML :

proc iml;
start mytest;
var_test = '123';
call execute('test = ',var_test,';');
print(test);
finish;
run mytest;
quit;

It seems to work correctly, but the same program with SAS/IML Studio, with :

start mytest;
var_test = '123';
call execute('test = ',var_test,';');
print(test);
finish;
run mytest;

generates the following error :

»ERROR: Cannot find or load the predefined module PEN.

Do you have any clue what can cause this problem ?

Best regards,
SAS Employee
Posts: 94

Re: Question about "call execute statement" with PROC IML and SAS/IML Studio

I'm not sure exacty why you are getting that particular message, but call execute is not supported in SAS/IML Studio. See the section, "Differences from PROC IML" in SAS/IML Studio Help->The IMLPlus Language
Post a Question
Discussion Stats
  • 1 reply
  • 151 views
  • 0 likes
  • 2 in conversation