DATA Step, Macro, Functions and more

Drop column whole exporting

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 11
Accepted Solution

Drop column whole exporting

I want to drop a column whole exporting using prompts.

 

Please give me the syntax


Accepted Solutions
Solution
‎04-20-2018 04:43 AM
Super User
Posts: 23,997

Re: Drop column whole exporting

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


All Replies
Super User
Posts: 10,557

Re: Drop column whole exporting

Show the code you already have.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Regular Contributor
Posts: 226

Re: Drop column whole exporting

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?

PROC Star
Posts: 629

Re: Drop column whole exporting

Check if this helps you.

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

Thanks,
Suryakiran
Solution
‎04-20-2018 04:43 AM
Super User
Posts: 23,997

Re: Drop column whole exporting

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


 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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