i want to embed a SAS prompt in a program that will be executed using SAS EG.
if the prompt is embedded in the program, anyone who will try to run the program can be able to give the prompt and use them(which is not defined in a project).
Can you please help me on this?
To create Stored Processes using SAS code, you can leverage this macro: https://core.sasjs.io/mm__createstp_8sas.html
The equivalent for Viya is here: https://core.sasjs.io/mv__createjob_8sas.html
A much tidier, and more git-centric way to build services in this way would be to use the SASjs CLI. This will also help you to seperate the frontend from the backend. Some useful links:
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.
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.