Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
FTP Delete returns RC=0008

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
mrgnndhmk

New User


Joined: 01 Feb 2006
Posts: 49
Location: India

PostPosted: Sat Jun 23, 2012 2:40 am    Post subject: FTP Delete returns RC=0008
Reply with quote

Hi All,

Is there any option to use MDELETE in FTP PROC used? FTP is not able to recognize the command MDELETE.

Also, if a file is not found in FTP directory and DELETE command is issued, the step returns RC=0008.

Can we suppress this error when a file is not found?

Regards,
Muruganandham k
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sat Jun 23, 2012 3:38 am    Post subject: Reply to: FTP Delete
Reply with quote

Yes, MDELETE is most certainly supported in the z/OS Communications Server FTP program:

5.40 MDelete subcommand--Delete multiple files.

Have you tried using the EXIT= parameter to force a zero completion code?
Back to top
View user's profile Send private message
mrgnndhmk

New User


Joined: 01 Feb 2006
Posts: 49
Location: India

PostPosted: Sat Jun 23, 2012 3:53 am    Post subject: Reply to: FTP Delete
Reply with quote

My bad. I missed the information that I am in a VSE environment and Server is a VM Server.

Are these commands supported in VSE/VM?

It says EXIT is an unidentified parameter.

// EXEC PROC=FTP
// EXEC FTP,PARM='IP=XXX.XXX.XXX.XXX,EXIT'
USER ID
PSWD
TCP/IP USER ID
TCP/IP PSWD
CD TEST
DELETE XXX.TXT
QUIT
/*
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Jun 23, 2012 5:26 am    Post subject:
Reply with quote

Code:
// EXEC FTP,PARM='IP=XXX.XXX.XXX.XXX,EXIT'
would be
Code:
// EXEC FTP,PARM='XXX.XXX.XXX.XXX (EXIT'
on a z/OS machine; I don't know about VSE though.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us