Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!CLEMSON!DAVIDC From: DAVIDC@CLEMSON.BITNET (David Condrey) Newsgroups: bit.listserv.ibmtcp-l Subject: FTP Client in batch ..bad dsn prefix Message-ID: Date: 2 Feb 90 20:22:00 GMT Sender: IBM TCP/IP For VM List Reply-To: IBM TCP/IP For VM List Lines: 38 Approved: NETNEWS@PSUVM Gateway When running the following job: //FTPJOB JOB ,TIME=(0,1) // EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSTSPRT DD SYSOUT=A //SYSTSIN DD * FTP /* //INPUT DD * host1.host2.domain username password get foreign.file local.file quit /* //OUTPUT DD SYSOUT=A // FTP is not looking in the right place to get the name of the high-level qualifier for the local dataset name. It seems to use the jobname (FTPJOB) as the high level qualifier and attempts to make a dataset named 'FTPJOB.local.file'. I believe the correct answer would be to use the DSNAME PREFIX at offset X'10' of the UPT, label=UPTPREFX. Am I missing something? Is this a bug? BTW, we are running TCP/IP for MVS under MVS/XA with the PTF tape applied. Thanks. -David --------------------------------------------------------------------------- |David S. Condrey |Bitnet: DAVIDC@CLEMSON | |MVS Systems Programmer/Tech Rep. |Internet: DAVIDC@CLEMSON.CLEMSON.EDU | |Clemson University Computer Center |Telephone: (803) 656-2733 | | "These opinions don't belong to anyone, especially Clemson." | ---------------------------------------------------------------------------