home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!CUA.BITNET!CHENX
- Original_To: BITNET%"sas-l@uga"
- Original_cc: CHENX
- Message-ID: <SAS-L%92081218131073@UGA.CC.UGA.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Wed, 12 Aug 1992 15:26:00 EDT
- Reply-To: Chen Xi <CHENX@CUA.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Chen Xi <CHENX@CUA.BITNET>
- Subject: Thank you, How to read V5 Transport File
- Lines: 52
-
- Dear Netter:
-
- I posted a question yesterday asking how to read SAS V5 Transport File, and I
- received a number of the responses. Thank you all for your kind suggestions,
- my problem has been solved. (I am sorry that I will not post names who
- responded to me, since it is a long list.)
-
- For the all who are interested in the topic, I will post the answer to the
- group. I do not know what will be the correct interpretation, but it works.
-
- My question was that some one saved a dataset into a unlabled tape from a
- IBM/CMS machine running SAS 5.18, and it is claimed that the data is in
- transport format, and the command he used was
-
- libname out sasv5xpt;
- proc copy in=in out=out;
-
- I would like to read the dataset on a VAX/VMS machine running SAS 6.06.
-
- At first, since it was a unlabled tape, I have to copy the transport file from
- tape to disk. (See SAS companion for VMS, pg 140.) The file is biggie,
- 30,000 blocks, I restored it into a scratch area named DISK$SCRATCH_:[CHENX],
- and the file name is GALL.SASPORT.
-
- The following is the complete SAS program running on VAX/VMS:
-
- options ls=80;
- libname inp xport 'disk$scratch_:[chenx]gall.sasport';
- libname outp 'disk$scratch_:[chenx]';
- proc copy in=inp out=outp;
- proc contents;
-
- The program read GALL.SASPORT, transform it, and write it into a SAS data file
- (which is named GALL.SASEB$something, I do not remember.) Proc Contents
- procedure made me sure that all the data has been correctly transformed, and it
- showed to me that the data is in V606 format.
-
- Onething I am not clear is that we supposed to use two engines, one for
- the transformation from transport file into the SAS file, and the other for
- the conversion from V5 to V6. But, it seems to me that we
- do not need the version conversion engine anymore. One possibility is that the
- transport file format is same for V5 and V6, there might be others. I am not
- sure if it has not been documented somewhere in the manuals, but SAS manual is
- just like an Encyclopedia. Besides, there are a lot of things in SAS Technical
- Report.
-
- Finally, thank you again for all who tried to answer my questions.
-
-
- Chen Xi
- User Consultant
- The Catholic University of America
-