On 11 Jan 2008 12:44:25 -0800, [EMAIL PROTECTED] (McKown, John) wrote: >It sounds like you are using the CA TCP/IP stack instead of the IBM one.
I believe you're right. >The problem comes in due to the fact that in the CA stack, the ftp >process is actually done in the TCPIP stack and not in the job. That is, >the CA stack actually allocates the DSN to itself. If the DSN is used >later in the job with an exclusive ENQ (DISP=SHR|NEW|MOD), then the >TCPIP stack cannot allocate the file (it is in use by the job) and the >ftp aborts. > >Instead of deleting via JCL, I use IDCAMS or IKJEFT01. With IKJEFT01 >(TSO/batch), my JCL looks like: > >//DELE EXEC PGM=IKJEFT01, >// PARM='DEL ''dsn'' ' >//SYSTSPRT DD SYSOUT=* >//SYSTSIN DD DUMMY I'll stick that in the proc. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

