|Date: ||Mon, 11 Aug 2008 03:34:59 -0700|
|Reply-To: ||Raj <jagannadhraj@GMAIL.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Raj <jagannadhraj@GMAIL.COM>|
|Subject: ||Re: MACROS ques|
|Content-Type: ||text/plain; charset=ISO-8859-1|
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
> 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.