SAS Viya Copilot for Code Assistance in SAS Data and AI Studio
Recent Library Articles
In this post, we’ll take a look at how SAS Viya Copilot for Code Assistance can help with some of those everyday tasks: understanding code, improving it, and making changes more confidently—all without leaving the SAS Data and AI Studio environment.
SAS Forward: Real Stories, Live Demos and AI Innovation
Ask the Expert
Join us November 4-5 for SAS Forward, a virtual event exploring modern analytics, AI and intelligent decisioning. Discover real-world success stories, explore emerging trends, and see the latest SAS innovations in action through expert-led sessions and live demonstrations.
SAS Enterprise Guide 8.3 is not displaying all Oracle library tables in the Server List. The library appears with a 'Browse' node instead of fully expanding, even after increasing MaxObjectsToDisplay in SEGuide.exe.config .
... View more
"NOTE: AVAL1의 결측값이 아닌 레벨이 2보다 작기 때문에 TRT01PN * AVAL1에 대해 계산된 통계량이 없습니다." 로 인해 Risk difference가 계산이 되지 않고 있습니다. 다만, 다른 통계 프로그램(R)에서는, 결측값이 아닌 레벨이 1개 (즉, 이 경우에 AVAL1=1 만 존재)만 있더라도 계산이 되는 경우가 있는데 SAS에서는 왜 계산이 되지 않는 것인가요? 자세한 이유를 알고 싶습니다. 아래는 분석 로그입니다. NOTE: 115개의 관측값을 데이터셋 DATASET.ADEFF1.에서 읽었습니다. NOTE: 데이터셋 TEMP.ADEFF1은(는) 111개 관측값과 46개 변수를 가집니다. NOTE: DATA 문장 실행 (총 프로세스 시간): 실행 시간 0.00 초 CPU 시간 0.01 초 13 14 /* 15 TRT01PN: Description of Planned Arm (1=대조군, 2=시험군) 16 AVAL1: - Responder (1=성공, 16 ! 2=실패) 17 */ 18 19 /*1. Chan-Zhang: Farrington-Manning (Score) */ 20 ods output PdiffCLs=RD; NOTE: HTML Body 파일 기록 중: sashtml.htm 21 proc freq data= temp.adeff1; 22 tables TRT01PN * aval1 / riskdiff(cl=(exact)); 23 exact riskdiff(method=fmscore); 24 run; NOTE: AVAL1의 결측값이 아닌 레벨이 2보다 작기 때문에 TRT01PN * AVAL1에 대해 계산된 통계량이 없습니다. WARNING: 출력 'PdiffCLs'이(가) 생성되지 않았습니다. 출력 개체 이름, 레이블, 또는 경로의 철자가 올바른지 확인하십시오. 또한, 적절한 프로시저 옵션이 요청된 출력 개체를 생성하는 데 사용되었는지도 확인하십시오. 예를 들어, NOPRINT 옵션이 사용되고 있지 않은지 확인하십시오. NOTE: 111개의 관측값을 데이터셋 TEMP.ADEFF1.에서 읽었습니다. NOTE: 프로시저 FREQ 실행 (총 프로세스 시간): 실행 시간 0.06 초 CPU 시간 0.01 초 25 ods output close; 26 27 /*2. Santner-Snell */ 28 ods output PdiffCLs=RD; 29 proc freq data= temp.adeff1; 30 tables TRT01PN * aval1 / riskdiff(cl=(exact)); 31 exact riskdiff(method=noscore); 32 run; NOTE: AVAL1의 결측값이 아닌 레벨이 2보다 작기 때문에 TRT01PN * AVAL1에 대해 계산된 통계량이 없습니다. WARNING: 출력 'PdiffCLs'이(가) 생성되지 않았습니다. 출력 개체 이름, 레이블, 또는 경로의 철자가 올바른지 확인하십시오. 또한, 적절한 프로시저 옵션이 요청된 출력 개체를 생성하는 데 사용되었는지도 확인하십시오. 예를 들어, NOPRINT 옵션이 사용되고 있지 않은지 확인하십시오. NOTE: 111개의 관측값을 데이터셋 TEMP.ADEFF1.에서 읽었습니다. NOTE: 프로시저 FREQ 실행 (총 프로세스 시간): 실행 시간 0.03 초 CPU 시간 0.01 초 33 ods output close; 34 35 /*3. MN (Miettinen?Nurminen)) */ 36 ods output PdiffCLs=MN_RD; 37 proc freq data=temp.adeff1; 38 tables TRT01PN * aval1 / riskdiff(cl=mn); 39 run; NOTE: AVAL1의 결측값이 아닌 레벨이 2보다 작기 때문에 TRT01PN * AVAL1에 대해 계산된 통계량이 없습니다. WARNING: 출력 'PdiffCLs'이(가) 생성되지 않았습니다. 출력 개체 이름, 레이블, 또는 경로의 철자가 올바른지 확인하십시오. 또한, 적절한 프로시저 옵션이 요청된 출력 개체를 생성하는 데 사용되었는지도 확인하십시오. 예를 들어, NOPRINT 옵션이 사용되고 있지 않은지 확인하십시오. NOTE: 111개의 관측값을 데이터셋 TEMP.ADEFF1.에서 읽었습니다. NOTE: 프로시저 FREQ 실행 (총 프로세스 시간): 실행 시간 0.04 초 CPU 시간 0.00 초 40 ods output close; 41 42 43 /* 4. Newcombe hybrid score */ 44 ods output PdiffCLs=Newcombe_RD; 45 proc freq data=temp.adeff1; 46 tables TRT01PN * aval1 / riskdiff(cl=newcombe); 47 run; NOTE: AVAL1의 결측값이 아닌 레벨이 2보다 작기 때문에 TRT01PN * AVAL1에 대해 계산된 통계량이 없습니다. WARNING: 출력 'PdiffCLs'이(가) 생성되지 않았습니다. 출력 개체 이름, 레이블, 또는 경로의 철자가 올바른지 확인하십시오. 또한, 적절한 프로시저 옵션이 요청된 출력 개체를 생성하는 데 사용되었는지도 확인하십시오. 예를 들어, NOPRINT 옵션이 사용되고 있지 않은지 확인하십시오. NOTE: 111개의 관측값을 데이터셋 TEMP.ADEFF1.에서 읽었습니다. NOTE: 프로시저 FREQ 실행 (총 프로세스 시간): 실행 시간 0.03 초
... View more
Good evening. I am trying to pull a rather long variable apart to create two individual variables. I am trying to create COUNTY and MUNCIPALITY variables. The variable in my dataset is called MUNICIPALITY NAME (length = 58) and is present in my screenshot example below. It contains municipality name, county name, and state (all NJ). I am wondering how to use the substring function to pull apart the many municipality names (we have 565 in NJ) to put municipality by itself while also pulling county names (we have 21 in NJ) apart given that names have different end positions. Thank you!
... View more
How SAS Customer Intelligence 360 helps marketing teams move from business ideas to functional journey designs using natural language.
Designing customer journeys often requires translating business objectives into personalized customer experiences. With the Scheduled Journey Agent in SAS Customer Intelligence 360, organizations can simplify this process using generative AI and natural language interactions.
Bottom line: Reduce manual journey-building effort and spend more time refining customer experiences.
What Is the Scheduled Journey Agent?
The Scheduled Journey Agent is an AI-powered assistant that helps users design, modify, and refine Scheduled Journeys through conversational prompts. Instead of manually creating every activity in Journey Designer, marketers can describe what they want to achieve and receive a proposed journey structure.
Its primary role is to serve as a design accelerator, helping teams reduce manual configuration and focus more attention on campaign strategy and customer experience.
Key Capabilities
Create journeys using natural language
Users can describe audiences, communications, wait periods, conditions, and exit criteria in plain language. The agent translates those requirements into an initial journey design.
Generate journeys from campaign briefs
The agent can analyze a campaign brief or requirements document and create an initial journey based on its objectives, audience, channels, cadence, messages, and success criteria.
Reuse existing journeys as templates
Teams can use an existing journey as a starting point and adapt it for a new audience, product, or campaign scenario.
Build journeys from diagrams and images
The agent can interpret flowcharts, diagrams, and process sketches and transform them into journey structures. This is especially useful during discovery sessions, workshops, and design reviews.
Modify existing journeys
Users can request incremental changes, such as adding a reminder, adjusting a wait period, or introducing a new activity, without rebuilding the entire flow.
Example prompt “Create a retention journey for customers who have not purchased in 90 days. Send a re-engagement email, wait five days, and send a reminder if the customer does not open the first message.”
AI Assists, Humans Decide
The agent can accelerate journey creation, but it does not replace business expertise, governance, approval processes, testing, or validation. It cannot define marketing objectives, infer undocumented internal rules, or guarantee regulatory compliance.
GENERATE → REFINE → VALIDATE
Where It Delivers the Most Value
The Scheduled Journey Agent is well suited for structured, multi-step interactions over time, including:
New customer onboarding
Customer reactivation and retention
Cross-sell and up-sell campaigns
Loyalty programs and renewals
Seasonal promotions
Cart abandonment journeys
Digital adoption and customer education programs
Best Practices for Success
The quality of the output depends heavily on the quality of the instructions. To maximize results:
Define a clear business objective.
Specify the target audience.
Include explicit timing and cadence.
Describe conditions and business rules clearly.
Build and refine the journey incrementally.
Validate audiences, channels, branching logic, compliance requirements, and expected outcomes before activation.
Common Pitfalls
Ambiguous prompts
Insufficient context
Implicit assumptions
Multiple objectives in one request
Highly complex journeys requested in a single prompt
Final Thoughts
The Scheduled Journey Agent introduces a faster, more conversational approach to journey design in SAS Customer Intelligence 360. It can transform ideas, campaign briefs, diagrams, and existing journeys into functional designs while reducing repetitive manual work.
Its greatest value comes from using it as an intelligent assistant, not as a replacement for human expertise. With clear instructions and appropriate oversight, marketing teams can accelerate development and focus on creating better customer experience.
What's Next?
The Scheduled Journey Agent makes journey creation faster and more intuitive, but the real value comes from understanding how to design effective customer journeys that drive meaningful business outcomes.
If you want to deepen your knowledge of journey orchestration, audience engagement, and journey best practices, continue with the “Creating Scheduled Journeys with SAS Customer Intelligence 360” course in next link.
SAS Customer Intelligence Learning Subscription
... View more
I am using SAS OnDemand for Academics in google chrome on MacOS. The studio is not in english. I changed the google chrome language to be english, but the studio is still not in english.
... View more