LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 6 Jan 2003 09:23:53 -0500
Reply-To:     Allan Page <>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Allan Page <>
Organization: Bell Sympatico
Subject:      Re: Without using macro, is it possible?

You checked to see of exists, but not How about doing that check as well. You also did not say what you plan to have your process do if either of the datasets does not exist.

"K.Shide" <> wrote in message news:av6ioa$27o6$ > I want to achive the following thing. > > data bbb; > a=exist(""); > if a then do; > merge aaa aaa; > end; > else do; > merge abc abc; > end; > run; > > Error: does not exist; > > > If "" exist then merge aaa and aaa, > else merge abc and abc. > But without using macro, SAS tries to carry out > every single step. > > Does anyone know how to solve this kind of problem > without using macro. > (This is a part of big complicated macro so I want to avoid > to use macro on this problem.) > > Any comments, advice will be greatly appreciated. > > K.Shide > > > > > > >

Back to: Top of message | Previous page | Main SAS-L page