home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / bit / listserv / sasl / 3695 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.7 KB  |  66 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!CUA.BITNET!CHENX
  3. Original_To:  BITNET%"sas-l@uga"
  4. Original_cc:  CHENX
  5. Message-ID: <SAS-L%92081218131073@UGA.CC.UGA.EDU>
  6. Newsgroups: bit.listserv.sas-l
  7. Date:         Wed, 12 Aug 1992 15:26:00 EDT
  8. Reply-To:     Chen Xi <CHENX@CUA.BITNET>
  9. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  10. From:         Chen Xi <CHENX@CUA.BITNET>
  11. Subject:      Thank you, How to read V5 Transport File
  12. Lines: 52
  13.  
  14. Dear Netter:
  15.  
  16. I posted a question yesterday asking how to read SAS V5 Transport File, and I
  17. received a number of the responses.  Thank you all for your kind suggestions,
  18. my problem has been solved.  (I am sorry that I will not post names who
  19. responded to me, since it is a long list.)
  20.  
  21. For the all who are interested in the topic, I will post the answer to the
  22. group.  I do not know what will be the correct interpretation, but it works.
  23.  
  24. My question was that some one saved a dataset into a unlabled tape from a
  25. IBM/CMS machine running SAS 5.18, and it is claimed that the data is in
  26. transport format, and the command he used was
  27.  
  28.         libname out sasv5xpt;
  29.         proc copy in=in out=out;
  30.  
  31. I would like to read the dataset on a VAX/VMS machine running SAS 6.06.
  32.  
  33. At first, since it was a unlabled tape, I have to copy the transport file from
  34. tape to disk.  (See SAS companion for VMS, pg 140.)   The file is biggie,
  35. 30,000 blocks,  I restored it into a scratch area named DISK$SCRATCH_:[CHENX],
  36. and the file name is GALL.SASPORT.
  37.  
  38. The following is the complete SAS program running on VAX/VMS:
  39.  
  40.         options ls=80;
  41.         libname inp xport 'disk$scratch_:[chenx]gall.sasport';
  42.         libname outp 'disk$scratch_:[chenx]';
  43.         proc copy in=inp out=outp;
  44.         proc contents;
  45.  
  46. The program read GALL.SASPORT, transform it, and write it into a SAS data file
  47. (which is named GALL.SASEB$something, I do not remember.)  Proc Contents
  48. procedure made me sure that all the data has been correctly transformed, and it
  49. showed to me that the data is in V606 format.
  50.  
  51. Onething I am not clear is that we supposed to use two engines, one for
  52. the transformation from transport file into the SAS file, and the other for
  53. the conversion from V5 to V6.  But, it seems to me that we
  54. do not need the version conversion engine anymore.  One possibility is that the
  55. transport file format is same for V5 and V6, there might be others.  I am not
  56. sure if it has not been documented somewhere in the manuals, but SAS manual is
  57. just like an Encyclopedia.  Besides, there are a lot of things in SAS Technical
  58. Report.
  59.  
  60. Finally, thank you again for all who tried to answer my questions.
  61.  
  62.  
  63. Chen Xi
  64. User Consultant
  65. The Catholic University of America
  66.