home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Newsgroups: bit.listserv.sas-l
- Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!uvvm!klassen
- References: <SAS-L%92110714224116@OHSTVMA.ACS.OHIO-STATE.EDU>
- Message-ID: <92312.161616KLASSEN@UVVM>
- Date: Sat, 7 Nov 1992 16:16:16 PST
- Reply-To: Melvin Klassen <KLASSEN@UVVM.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- Comments: Warning -- original Sender: tag was NETNEWS@UVVM.UVIC.CA
- From: Melvin Klassen <KLASSEN@UVVM.BITNET>
- Subject: Re: macro error message
- Lines: 13
-
- Ekeho <V1354G@TEMPLEVM> writes:
- >I am trying to concatenate about 100 data sets. Therefore I am testing
- >macro program. In the last part of sas log I generate data set names.
- >When I don't use macro, it works fine. Instead of "set" I use "proc append"
- >in another program. It is OK. There are error messages in the screen.
- >It says "invalid device". May be %cms makes a trouble.
-
- Your're right, the '%CMS' command is the problem.
- > 1 %MACRO MANI(R);
- > 2 %DO I=1 %TO &R;
- > 3 %CMS FI OUT&I OUT&I DATA A;
- Try: %CMS FILEDEF OUT&I DISK OUT&I DATA A;
- or use the 'FILENAME' statement in SAS.
-