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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 0 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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