BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ramabc3
Fluorite | Level 6

I want to drop a column whole exporting using prompts.

 

Please give me the syntax

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

DROP &MYVAR;

 

Drop statement or data set option. 


@Ramabc3 wrote:

I want to drop a column whole exporting using prompts.

 

Please give me the syntax


 

View solution in original post

4 REPLIES 4
error_prone
Barite | Level 11

Impossible to suggest something useful with that amount of information provided.

 

Are you talking about Enterprise Guide, Stored Process, SAS Display Manager or ...?

Which information is provided by the user? The name of the variable to be dropped?

SuryaKiran
Meteorite | Level 14

Check if this helps you.

https://support.sas.com/resources/papers/proceedings10/041-2010.pdf

Thanks,
Suryakiran
Reeza
Super User

DROP &MYVAR;

 

Drop statement or data set option. 


@Ramabc3 wrote:

I want to drop a column whole exporting using prompts.

 

Please give me the syntax


 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1502 views
  • 0 likes
  • 5 in conversation