You can select two stored process types in the Process Properties node:
Using a SAS stored process with the process node is highly recommended. Opting for a stored process over manually written code in SAS Marketing Automation offers several compelling advantages.
Firstly, stored processes are centrally managed, ensuring that they can be reused across multiple campaigns, thereby reducing redundancy and maintaining consistency. This centralized approach enables campaign designers to customize the behavior of stored processes using defined prompts, which facilitates flexible and dynamic campaign execution.
Moreover, stored processes are typically developed and tested in a robust programming interface like SAS® Enterprise Guide®, which aids in thorough validation before deployment. This process ensures that any revisions and testing of a stored process apply universally to all campaigns using it, unlike manually written code, which requires individual revisions and testing for each campaign. These benefits collectively make stored processes a best practice for achieving efficient and scalable campaign management in SAS Marketing Automation.
This SAS KB article will help you get started with a simple demonstration using the Process node to select and run a stored process in SAS Customer Intelligence Studio.
This article contains the following sections:
Note: Click the images in this article to view them in full screen.
Before using any custom code in SAS Customer Intelligence Studio, test the node in SAS Enterprise Guide.
Here is an example:
proc setinit; run;
/* Simple Test to create a stored Process for use in SAS Customer Intelligence Studio */
%stpbegin;
%maspinit(xmlstream=neighbor macrovar)
proc setinit;
run;
%mastatus (&_stpwork.status.txt);
%Stpend;
The stored process details are also included in the SASCustIntelCore6.6.log, which is located on the middle-tier machine. For example, D:\SASConfig\Lev1\Web\Logs\SASServer6_1\SASCustIntelCore6.6.log.
Search for the following:
DEBUG [CIExec-2] [0963077b9ef42e5d:6e0dca0e:195f4df1cb5:5fc3] [sasdemo] .crm.task.queue.EvenDistributionJobQueue - TID[CIExec-2] Completed job: EDEBR4BIARGNR1Z2 for node Process in campaignID [not set] in 0.328 seconds
For more detailed information, see the following recommended resources: