Help using Base SAS procedures

deviding a section of SAS

Reply
Regular Contributor
Posts: 161

deviding a section of SAS

Hi,

I have a very long sets of codes but there are times that I just need a small section from the top and bottom.

How do I divide up the middle section so it wouldn't run

Ex:
this is the code I want

this is the code with all the comments and Macro that I do not want

this is the code I want

Thank you
Respected Advisor
Posts: 3,799

Re: deviding a section of SAS

[pre]
> this is the code I want

%macro skip;
> this is the code with all the comments and Macro that
> I do not want
%mend skip;

> this is the code I want
[/pre]
SAS Super FREQ
Posts: 8,864

Re: deviding a section of SAS

Hi:
SAS has 2 forms of comments for "regular" code, as explained here:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000289375.htm

and, also the ability to comment in macro programming code, as explained here;
http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#tw3514-definemacr... (in the topic entitled "Inserting Comments in Macros")

cynthia
Ask a Question
Discussion stats
  • 2 replies
  • 102 views
  • 0 likes
  • 3 in conversation