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

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!TWNMOE10.BITNET!DAISY
  3. Message-ID: <SAS-L%92072403083031@UGA.CC.UGA.EDU>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Fri, 24 Jul 1992 14:23:00 EST
  6. Reply-To:     Daisy Hsu <DAISY@TWNMOE10.BITNET>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Daisy Hsu <DAISY@TWNMOE10.BITNET>
  9. Subject:      about varity datasets merge
  10. Lines: 43
  11.  
  12. Hi folks:
  13.   There is a question bothered me for a while.  The following is the
  14. problem:
  15.   There are three datasets with different type.
  16.  First:  Lrecl = 40
  17.          date (4.)     fid ($7.)   dummy (16.)   itm (5.)      qty (8.)
  18.             0101        a100001     123986....     45422        34400
  19.             0101        a100001          .         45666        23455
  20.              .            .              .             .           .
  21.              .            .              .             .           .
  22.             0131        a100001          .         00123        123234
  23.             0101        a100002          .         12993        123300
  24.              .           .               .            .            .
  25.              .           .               .            .            .
  26.  
  27.  Second:  Lrecl = 110
  28.            date  fid  itm1  qty1  itm2  qty2  ... itm8  qty8   check
  29.                                                                  *
  30.  
  31.           * the check # is the symbol of how many records belongs to
  32.             the same fid on the same date.
  33.  
  34.  Third:   Lrecl = 341
  35.           fid  date  dummy (19.)  account (2.)  qty1 itm1 ... qty24 itm24
  36.                                      *                      *     *
  37.           * account is the symbol of the qty# and itm#.
  38.             eg:  account = 12  implied from qty1 itm1 to qty12 itm12
  39.  
  40.   finally I want to manage the dataset as:
  41.       Lrecl = 80
  42.        fid   date             blank  (67)                       cd (2)
  43.        fid   date  itm1 (5)  qty1 (8) ... itm5  qty5  blank (2) cd (2)
  44.                                                                 *
  45.        * take the card # appart.
  46.          eg:  cd = 1        is the card included fid date
  47.               cd = 2 or 3 or ...    is the sequence # of the contant
  48.                fid itm qty
  49.               if the qty# & itm# over 5 on the same date in the same fid
  50.               then cd will be add 1.
  51.  
  52.   Any advice is appreciated.   Welcome your anser.
  53. Daisy Hsu
  54. Bitnet : Daisy@twnmoe10
  55.