home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / ibmtcpl / 3290 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.2 KB

  1. Path: sparky!uunet!uvaarpa!darwin.sura.net!cs.utk.edu!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!hri.com!noc.near.net!ns.draper.com!news.draper.com!MVS.draper.com!SEB1525
  2. From: SEB1525@MVS.draper.com (Steve Bacher)
  3. Newsgroups: bit.listserv.ibmtcp-l
  4. Subject: More FTP Fun (was: FTP Configuration Data Set Not Working)
  5. Message-ID: <19930128114027SEB1525@MVS.draper.com>
  6. Date: 28 Jan 93 16:40:00 GMT
  7. References: <54930128115345/0003858921NA2EM@mcimail.com>
  8. Sender: MVS NNTP News Reader <NNMVS@MVS.draper.com>
  9. Reply-To: seb1525@support4.draper.com
  10. Organization: Draper Laboratory
  11. Lines: 45
  12. Nntp-Posting-Host: mvs.draper.com
  13.  
  14. Speaking of SENDSITE...
  15.  
  16. I just discovered another "feature" of the latest incarnation of the
  17. MVS FTP client.  If you want to send a RECFM=V dataset containing
  18. binary data to an ASCII site, but do it in such a way as to preserve
  19. the record information, the thing to do is to pretend it's RECFM=U
  20. and FTP it with binry mode.  The resulting file on the Unix/Vax/etc.
  21. end will have the MVS RDW's and BDW's embedded in it, whence an
  22. enterprising utility writer could restore the original record
  23. boundaries.
  24.  
  25. Well, this used to work by including the command
  26.  
  27.  LOCSITE RECFM=U
  28.  
  29. in the MVS FTP command stream.  No more.  FTP not only sends that
  30. SITE FIXrecfm=VB... command based on the actual attributes of the
  31. data set you're sending, but toggling SENDSITE to stop this doesn't
  32. seem to have any effect at all on the resulting send, even though
  33. it skips the SITE command.
  34.  
  35. There is a way to do it.  But it requires going back to one of the
  36. old, old little-documented MVS tricks:  allocating the data set to
  37. any old ddname with the RECFM=U attribute associated with it.  So
  38. here's what you have to do.
  39.  
  40. without TSO/E:
  41.  
  42. ATTRIB JUNKATTR RECFM(U)
  43. ALLOC FI(JUNKDD) DA(BINARY.TEXT) USING(JUNKATTR)
  44.  
  45. with TSO/E:
  46.  
  47. ALLOC FI(JUNKDD) DA(BINARY.TEXT) RECFM(U)
  48.  
  49. Then you do your FTP, specify BINARY and PUT BINARY.TEXT,
  50. and it works.
  51.  
  52. But the fact that you have to do this via an old MVS trick is 100%
  53. backwards as far as useability.  If this is representative of the
  54. direction in which IBM is headed, then ... (fill in the rest).
  55.  
  56. --
  57. Steve Bacher (Batchman)                 Draper Laboratory
  58. Internet: seb@draper.com                Cambridge, MA, USA
  59.