Hello,
When you start working in EG you usually take some dataset from a specific library. Is it possible to create a prompt on a dataset-shortcut in your process flow to specify the libname?
So if have for instance libraries libA and libB and both have a dataset called products (with identical variables, but different observations). Then when you drag the dataset to the process flow you have to choose either libA.products of libB.products, but I would like a prompt, say &libnameAorB., that gives me the choice between libA and libB.
I have a similar question for exports. Can you specify the name of the exported files with a prompt? (I know it can be done in a program step, but I'm asking this with respect to an export step)
Thanks in advance,
Warri
Yes ... just use the Libname prompt. In this blog post I show how to setup the prompt - although the post is about creating a stored process without output. It should give you an idea of how to set up the prompt.
Hope this helps:
Tricia
Thank you. We'll be looking at this possibility.
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!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.