BookmarkSubscribeRSS Feed
Warri
Calcite | Level 5

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

2 REPLIES 2
TriciaA
Calcite | Level 5

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

Notes for SAS BI Users

Warri
Calcite | Level 5

Thank you. We'll be looking at this possibility.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1469 views
  • 1 like
  • 2 in conversation