home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / ibmtcpl / 3243 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.0 KB  |  56 lines

  1. Newsgroups: bit.listserv.ibmtcp-l
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!news.duc.auburn.edu!AUDUCADM.DUC.AUBURN.EDU!CCP17BK
  3. From: CCP17BK@AUDUCADM.DUC.AUBURN.EDU (Bill Kelly)
  4. Subject: Re: FTP using Batch TMP question
  5. Message-ID: <19930126082422CCP17BK@AUDUCADM.DUC.AUBURN.EDU>
  6. Sender: MVS NNTP News Reader <NNMVS@AUDUCADM.DUC.AUBURN.EDU>
  7. Nntp-Posting-Host: auducadm.duc.auburn.edu
  8. Reply-To: kellywh@mail.auburn.edu
  9. Organization: Auburn University, AL
  10. References: <9301251534.AA0105@osreq48.rockwell.com>
  11. Date: Tue, 26 Jan 1993 14:24:00 GMT
  12. Lines: 42
  13.  
  14. In article <9301251534.AA0105@osreq48.rockwell.com>,
  15. "Lionel B. Dyck" <lbdyck@OSREQ48.ROCKWELL.COM> writes:
  16.  
  17. >I am trying to use the FTP command in batch using the batch TMP to retrieve
  18. >files.  It works for all the commands except GET and MGET (have not tried
  19. >put/mput).
  20. >
  21. >I keep getting an error is: FTPALL240I Error allocating local data set
  22. >
  23. >
  24. >The jcl that I am using is:
  25. >
  26. >//IEFPROC  EXEC PGM=IKJEFT01,DYNAMNBR=90
  27. >//STEPLIB  DD  DISP=SHR,DSN=TCPIP.PROD.TCPLIB
  28. >//SYSTSPRT DD  SYSOUT=T
  29. >//SYSPRINT DD  SYSOUT=T
  30. >//SYSTSIN  DD  *
  31. >profile prefix($a1238)
  32. >FTP 128.123.35.151
  33. >listsp tcpip.un32131.zip
  34. >//SYSIN  DD  *
  35. >anonymous $a1238@wcc1a.rockwell.com
  36. >cd pub
  37. >cd uploads
  38. >dir
  39. >binary
  40. >mget tcpip.*
  41. >quit
  42.  
  43. Yeah, that FTPALL240I message is really informative, isn't it? :-)
  44. What's showing up in your job's allocation log?  Is the correct
  45. dataset name being allocated?  Does the file already exist?  If so,
  46. you of course need the (REPLACE option on the get/mget.  Also, we've
  47. found that if the file already exists and (REPLACE is specified,
  48. it only works if the existing file has a non-null DSORG field.  In
  49. other words, when the file was allocated, a DSORG had to be explicitly
  50. specified (either via JCL, ALLOC cmd, letting SPF supply it, etc.).
  51.  
  52. Also, Steve Bacher has posted some items concerning problems with
  53. dataset names that have qualifiers starting with some of the 'national'
  54. characters, I think.  I suppose you could be seeing something along
  55. those lines.
  56.