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!CCVM.SUNYSB.EDU!TYE
- Message-ID: <SAS-L%93010814210047@UGA.CC.UGA.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Fri, 8 Jan 1993 14:14:42 EST
- Reply-To: Sam Ye <TYE@CCVM.SUNYSB.EDU>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Sam Ye <TYE@CCVM.SUNYSB.EDU>
- Subject: TRANSPORT DATA FROM VAX TO PC
- Lines: 28
-
- Hi,folks:
- My problem is to transport SASdata sets from VAX to PC. I used
- PROC COPY to do data transporting both on VAX and on PC, and KERMIT in
- binary mode to do file transfer. I carfully followed the instructions in SAS
- Procedure Guide and Technical Report P195. I have successfully used these
- procedure to move SAS data sets from IBM mainframe to PC. Therefore, I
- believe no mistakes in programs. But I failed to do the same thing from
- VAX to PC.
- The difference between success and failure is this: The transportable
- data file on PC transfered from IBM mainframe (before using PROC COPY) is
- sequential file without breaking into lines. But the file transfered
- from VAX was broken into lines with 80 column for each line, and was
- rejected by PROC COPY on PC. So, it is clear that the transportable data
- file on PC should be a sequential one. When I check the transportable data
- file created by PROC COPY on VAX, it show that:
- file organization is sequential, and
- record format is fixed length 80 byte records.
- I don't known what that means and what goes wrong. Transportable file
- created by PROC COPY on VAX? or KERMIT on VAX? Any solution?
- Please give your advice. I need it badly. Many thanks!
- The following are the programs I used on VAX and PC.
- On VAX: libname dat '[.data]';
- (6.07) libname tran xport 'tran.vax' ;
- proc copy in=dat out=tran memtype=data ;
- select a1;
- On PC : libname indat sasv5xpt 'c:¢tran.vax';
- (6.03) libname psy 'c:¢psy ' ;
- proc copy in=indat out=psy ;
-