I created and deployed a simple stored process but I am unable to load this into a BI Dashboard. Are there others settings I need to put on the stored process aside from make the return type a package? When I attempt to use the stored process for the dashboard it does not show me any tables to use.
%global _ARCHIVE_PATH _ARCHIVE_NAME;
%macro checkrc(text);
if rc ne 0 then do;
msg=sysmsg();
put msg=;
end;
else
put "&text succeeded";
%mend checkrc;
data _NULL_;
rc=0;pid=0;desc="";
call package_begin(pid,desc,nameV,rc);
%checkrc(Package Init);
call insert_dataset(pid,"sashelp","cars","Car Types",'',rc);
%checkrc(Package Dataset);
length fullpath $4096;
call package_publish(pid,"TO_ARCHIVE",rc,"archive_path,archive_name,archive_fullpath","&_ARCHIVE_PATH","&_ARCHIVE_NAME",fullpath);
%checkrc(Package Publish);
putlog fullpath;
call symput('_ARCHIVE_FULLPATH',fullpath);
call package_end(pid,rc);
%checkrc(Package Term);
run;
Hi Bream,
Can you tell what exact msg you are getting when you executed stored process from EG.
If you are getting msg like Package created with no tables .Then Solution for that is turn off The Stored process Macros from Include codes from SAS EG modifed Stored process .%stpbegin and %stpend;
-Zeelan
Hey bream_bn,
Were you able to get this resolved? I am having similar problems, where I get an error in BI Dashboard saying "The value of a fixed prompt cannot be changed: _result". I am not modifying the value of the _result prompt anywhere in the code.
Any help would be appreciated.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.