•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 456,565 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,583 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser: Programming Forums
Views: 840 | Replies: 0
![]() |
•
•
Join Date: Oct 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
Not too sure whether this is the right place to look for help.
I am newbie to SAS.
Basically, I have written a few macros in SAS which I would like to activate when different conditons are met.
For example.
However, I found that I cannot do that i.e. select different macros when different conditions are met. Anybody can suggest how I could achieve the same functionality?
(P.S if possible, give code fragments as i am really very new to SAS)
Also, is it possible to concatenate 2 macro strings.
i.e. % Let macro1=ABC;
%Let macro2=DEF;
I would like to have
%Let macro 3= ABCDEF; (but using macro1 and 2 since the values may change.)
How can I do this??
Thanks.
Not too sure whether this is the right place to look for help.
I am newbie to SAS.
Basically, I have written a few macros in SAS which I would like to activate when different conditons are met.
For example.
Data _NULL_ Do i=0 to 10 Select (i) When (0)%Macro1(var1); when(2) % macro2(var2); .... otherwise end end
However, I found that I cannot do that i.e. select different macros when different conditions are met. Anybody can suggest how I could achieve the same functionality?
(P.S if possible, give code fragments as i am really very new to SAS)
Also, is it possible to concatenate 2 macro strings.
i.e. % Let macro1=ABC;
%Let macro2=DEF;
I would like to have
%Let macro 3= ABCDEF; (but using macro1 and 2 since the values may change.)
How can I do this??
Thanks.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Computer Science and Software Design Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax asp blog business software computer dell design developer development erp systems experiment firefox howto india intel internet it java linux media microsoft mmorpg msdn networking news office open open-source operating programming project management rss science security software software selection source sql sun super system technology evaluation toread vista warez web wiki windows xp
- SAS users (Computer Science and Software Design)
- Send data on a serial port (C++)
- Simulate Mouse Move (C++)
- Safe Array (C++)
- i want the user to enter an input without obligating him to press enter (C++)
- Macros in Excel (Visual Basic 4 / 5 / 6)
- Calling Oracle Stored Procedures with ASP (ASP)
- Data Abstraction (Computer Science and Software Design)
Other Threads in the Computer Science and Software Design Forum
- Previous Thread: Algorithm Comlexity
- Next Thread: track softwear next move


Linear Mode