> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Howard Brazee
> Sent: Friday, January 11, 2008 3:07 PM
> To: [email protected]
> Subject: Re: Deleting after FTP
> 
> 
> On Fri, 11 Jan 2008 14:04:29 -0700, [EMAIL PROTECTED] wrote:
> 
> >>//DELE EXEC PGM=IKJEFT01,
> >>// PARM='DEL ''dsn'' '
> >>//SYSTSPRT DD SYSOUT=*
> >>//SYSTSIN DD DUMMY
> >
> >That worked!
> 
> Oops, no it didn't.   It ended with a clean return code, but the file
> wasn't deleted.

Oh, yeah, that. One problem with IKJEFT01 is that it returns with RC=0
regardless. I think that IKJEFT1A will propogate the return code from
the DELETE.

The output in SYSTSPRT should say why the delete failed. I wonder if the
CA stack did not unallocate the DSN after the frp completes for some
reason.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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

Reply via email to