home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3475 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.1 KB  |  35 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!USCMVSA.BITNET!RROBERT
  3. Message-ID: <SAS-L%92072916320834@UGA.CC.UGA.EDU>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Wed, 29 Jul 1992 13:30:00 PDT
  6. Reply-To:     Bob Roberts <RROBERT@USCMVSA.BITNET>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Bob Roberts <RROBERT@USCMVSA.BITNET>
  9. Subject:      concurrent sas data steps
  10. Lines: 23
  11.  
  12. I would appreciate help with a problem.  Is it possible in SAS
  13. to run one or more data steps to completion in the middle of
  14. another data step?  Specifically, I would like to be able to
  15. write and process new temporary data sets within iterations of
  16. a "DO" loop in another data step.  For example,
  17.  
  18. data second secondb; set first(keep=v1-v10);
  19. array(eins) v1-v10;
  20. do i = 1 to 10;
  21.    do j = 1 to 10;
  22.       id1 = eins(i);
  23.       id2 = eins(j);
  24.       output secondb;
  25.      end;
  26. **** I would like to be able to process SECONDB (e.g., sort, merge
  27. with another data set) before moving to the next iteration of
  28. the "i" counter;
  29.  
  30.   end;
  31.  
  32. Thanks,
  33.  
  34. Bob
  35.