BookmarkSubscribeRSS Feed
bream_bn
Fluorite | Level 6

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;

2 REPLIES 2
zeelan
Calcite | Level 5

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

SameerSAS
Calcite | Level 5

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.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1152 views
  • 0 likes
  • 3 in conversation