Date: Mon, 11 Aug 2008 22:53:17 +1000
Reply-To: Scott Bass <sas_l_739.at.yahoo.dot.com.dot.au@PESTO.CC.UGA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Bass <sas_l_739.at.yahoo.dot.com.dot.au@PESTO.CC.UGA.EDU>
Subject: Re: MACROS ques
"Raj" <jagannadhraj@gmail.com> wrote in message
news:a23acf2e-d129-4ad5-8e65-fee3c048c456@e39g2000hsf.googlegroups.com...
> On Aug 10, 10:30 pm, j...@STANFORDALUMNI.ORG (Jack Hamilton) wrote:
>> Hint: If you use text message abbreviations like "u", you will not be
>> taken as seriously as you would if you bothered to spell out your words.
>>
>> 1) Documentation for the macro language can be found online at
>> <http://support.sas.com/onlinedoc/913/getDoc/en/mcrolref.hlp/a00204707...
>> >.
>>
>> 2) Yes, but it probably won't do what you expect. The %LET will be
>> executed when the data step is compiled, not when it is executed. To
>> assign a value to a macro function in a data step, use CALL SYMPUT (or
>> CALL SYMPUTN).
>>
>> 3) Varies by platform and installation. The easiest route would be to
>> find someone at your site who already has it working. Documentation
>> can be found in the SAS/Access software section of
>> <http://support.sas.com/onlinedoc/913/docMainpage.jsp
>> >. Look at the relational database reference, and at the DB2 section
>> within that.
>>
>> 4) Yes. See above. If you're on Unix or PC, see
>> <http://support.sas.com/onlinedoc/913/getDoc/en/acreldb.hlp/a002299543...
>> >.
>>
>> It is really important to learn how to use the online documentation.
>>
>> --
>> Jack Hamilton
>> j...@alumni.stanford.org
>>
>> On Aug 10, 2008, at 8:24 pm, Raj wrote:
>>
>> > 1) Debugging options in Macros and explanation about
>> > % EVAL , SYSEVALF , % LOCAL and % GLOBAL
>>
>> > 2) Can you use a let statement in data step?
>>
>> > 3) how do u connect to DB2?
>>
>> > 4) Can u use libname statement to connect to db2?
>>
>> > If anyone could answer these questions it would be helpful..
>>
>> > Thanks
>>
>> > Raj.
>
> 'U' was a typo. Sorry about that.
A typo twice??? ;-) :-D
|