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