This then?
https://video.sas.com/detail/video/3829767505001/create-and-use-prompts-in-queries-and-tasks
Or a written reference if you prefer that:
https://support.sas.com/resources/papers/proceedings13/028-2013.pdf
Ok, I created a prompt where I can select a list from the hints, how to enter a macro in the Program icon that will load me the date from the prom?
%let gv_dateF=%sysevalf(%bquote('&datacorep.'d));
%let gv_date_hF=%sysevalf(%bquote('&datacorep_h.'d))%let gv_dateF=%sysevalf(%bquote('&datacorep.'d));
%let gv_date_hF=%sysevalf(%bquote('&datacorep_h.'d))I created oromt and assigned to program, but i would like load data from promt like a above code and run code which will created table
proc sql;
create table NewDef as
select
spr_NRB,
spr_DEFAULT
from kredyty
where data danych = &gv_dateF;
but still not working 😞
Thanks for everyone its working 🙂
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.