[bit.listserv.ibmtcp-l] FTP Client in batch ..bad dsn prefix

DAVIDC@CLEMSON.BITNET (David Condrey) (02/03/90)

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."         |
---------------------------------------------------------------------------