home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!auvm!ZODIAC.BITNET!HAMER
- X-Envelope-to: sas-l@VTVM1.BITNET
- X-VMS-To: BITNET%"sas-l@vtvm1"
- Message-ID: <01GTFBEB9IV09YFPHJ@zodiac.rutgers.edu>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 12 Jan 1993 08:40:00 EST
- Reply-To: "Robert M. Hamer 908-932-2696" <HAMER@ZODIAC.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "Robert M. Hamer 908-932-2696" <HAMER@ZODIAC.BITNET>
- Subject: RE: data set definition problem
- Lines: 45
-
- ZINJMAN@UOG.PACIFIC.EDU writes:
-
- >Can anyone out there help us with a problem we're encountering
- >with SAS-PC?:
-
- >When creating a large data set in the Data Set Definition Mode,
- >is it possible to END the SAS session without completely
- >defining the DATA SET and then re-enter the Data Set
- >Definition Mode at a later time to continue defining
- >the same data set?
-
- Under the assumption that the question you're asking can be restated
- as: When using PC DOS SAS to create a dataset with the data step
- can you create part of a dataset in one session and then in a later
- different session add observations to the dataset the answer is yes.
-
- Session one:
-
- libname .......... whatever;
- Data abc;
- infile ......... whatever;
- input ......... statement;
- run;
-
-
- And in a different session:
-
- libname .......... whatever;
- Data xyz;
- infile ......... whatever;
- input ......... statement;
- run;
-
- proc append base=abc data=xyz;
-
- (Look up append to make sure I have the syntax right; I don't have
- a manual here in front of me. But you get the idea, don't you?)
- This requires that you have the "xyz" part of the data around
- for part of the SAS session before appending it to the existing
- dataset.
-
- If you were using SAS 6.07 or above you would have available to
- you in the data step the MODIFY statement which would allow
- you to add observations directly to an existing dataset when
- paired with the output statement.
-