home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / bit / listserv / sasl / 5562 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.0 KB  |  40 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!auvm!CCVM.SUNYSB.EDU!TYE
  3. Message-ID: <SAS-L%93010814210047@UGA.CC.UGA.EDU>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Fri, 8 Jan 1993 14:14:42 EST
  6. Reply-To:     Sam Ye <TYE@CCVM.SUNYSB.EDU>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Sam Ye <TYE@CCVM.SUNYSB.EDU>
  9. Subject:      TRANSPORT DATA FROM VAX TO PC
  10. Lines: 28
  11.  
  12. Hi,folks:
  13.    My problem is to transport SASdata sets from VAX to PC. I used
  14. PROC COPY to do data transporting both on VAX and on PC, and KERMIT in
  15. binary mode to do file transfer. I carfully followed the instructions in SAS
  16. Procedure Guide and Technical Report P195. I have successfully used these
  17. procedure to move SAS data sets from IBM mainframe to PC. Therefore, I
  18. believe no mistakes in programs. But I failed to do the same thing from
  19. VAX to PC.
  20.   The difference between success and failure is this: The transportable
  21. data file on PC transfered from IBM mainframe (before using PROC COPY) is
  22. sequential file without breaking into lines. But the file transfered
  23. from VAX was broken into lines with 80 column for each line, and was
  24. rejected by  PROC COPY on PC. So, it is clear that the transportable data
  25. file on PC should be a sequential one. When I check the transportable data
  26. file created by PROC COPY on VAX, it show that:
  27.    file organization is sequential, and
  28.    record format is fixed length 80 byte records.
  29. I don't known what that means and what goes wrong. Transportable file
  30. created by PROC COPY on VAX? or KERMIT on VAX? Any solution?
  31. Please give your advice. I need it badly. Many thanks!
  32.    The following are the programs I used on VAX and PC.
  33.  On VAX:   libname dat  '[.data]';
  34.   (6.07)   libname tran xport 'tran.vax'  ;
  35.            proc copy in=dat out=tran memtype=data ;
  36.               select a1;
  37.  On PC :   libname indat  sasv5xpt 'c:¢tran.vax';
  38.   (6.03)   libname psy        'c:¢psy  '  ;
  39.            proc copy in=indat out=psy  ;
  40.