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
 
Getting Delete error using REXX and FTP from Server

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
srj1957

New User


Joined: 15 Dec 2005
Posts: 72
Location: RALEIGH NC, USA

PostPosted: Sat Feb 18, 2012 1:49 am    Post subject: Getting Delete error using REXX and FTP from Server
Reply with quote

I can retrieve files using the wild card asterisk
Code:
PCFILA = "clinic*.csv"                         
MFFILA = "'ABC.DBF.XYZ'"       
QUEUE "GET" PCFILA MFFILA   

This works fine...

When I try to delete it

Code:
pcfila = "clinic*.csv"
queue "delete" pcfila



I get this error
Code:
EZA1701I >>> DELE clinic*.csv         
450 Deletion failed   


I can delete it if I put the full filename

Code:

pcfila = "clinic_20100214.csv"
queue "delete" pcfila 


Works perfect


Does anyone know how to resolve this
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 Feb 18, 2012 2:01 am    Post subject: Reply to: Getting Delete error using REXX and FTP from Serv
Reply with quote

Bear in mind that I know nothing about your site or what kind of FTP server you're communicating with, but when I logon to my site's Windows FTP Server, and issue a HELP DELE command, it clearly indicates that it has to be a full filename. When I issue a HELP MDEL, it indicates that it can be any part of a filename.

As an EDI and Data Transmission Specialist, I highly recommend that you steer clear of using any wildcard-supported commands, like MGET, MPUT, or MDEL, and instead use the specific commands for specific filenames only (GET, PUT, DELE).
Back to top
View user's profile Send private message
srj1957

New User


Joined: 15 Dec 2005
Posts: 72
Location: RALEIGH NC, USA

PostPosted: Thu Feb 23, 2012 8:26 pm    Post subject:
Reply with quote

Ok Thanks for the reply....
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

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