home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!UWPG02.BITNET!CLARK
- X-Envelope-to: sas-l@ualtavm.bitnet
- X-VMS-To: in%"sas-l@ualtavm.bitnet"
- MIME-version: 1.0
- Content-transfer-encoding: 7BIT
- Message-ID: <01GOBIGW47SI9UM49D@uwpg02.uwinnipeg.ca>
- Newsgroups: bit.listserv.sas-l
- Date: Wed, 2 Sep 1992 18:56:47 -0600
- Reply-To: Jim Clark <CLARK@UWPG02.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Jim Clark <CLARK@UWPG02.BITNET>
- Subject: SQL again - Conflict between WHERE and OBS option
- Lines: 36
-
- Hi
-
- I am working on some programs that eventually must work with somewhat
- large (for me) files. Unfortunately when I use the OBS= option, I get the
- following error message from SQL. Is there anyway around this limitation or an
- alternative approach to restricting the number of records processed during
- program devlepment.
-
- Best Wishes
- Jim
-
- James M. Clark CLARK@UWPG02.BITNET (note ZERO-TWO)
- Department of Psychology CLARK@UWPG02.UWINNIPEG.CA
- University of Winnipeg (204) 786-9359
- Winnipeg, Manitoba, Canada
- R3B 2E9
-
-
- 53 proc sql;
- 54 select
- 55 max(dep), max(crs), max(sec), max(ins), 0, ., ., ., ., .,
- max(n), mean(mn)
- 56 from freq
- 57 where qn<26
- 58 group by dep, crs, sec, ins;
- ERROR: A where clause may not be used with the FIRSTOBS or the OBS data set
- ERROR: A where clause may not be used with the FIRSTOBS or the OBS data set
- ERROR: A where clause may not be used with the FIRSTOBS or the OBS data set
- options.
- options.
- options.
- ERROR: PROC SQL runtime error for operation=sqxsrc.
- ERROR: PROC SQL runtime error for operation=sqxsrc.
- ERROR: PROC SQL runtime error for operation=sqxsrc.
- NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of
- statements.
-