Try DLTDLO command.  I used it to delete text file in the folder.



                                                                                
                                                          
                      "Bob O."                                                  
                                                          
                      <otis_the_cat@hotmai        To:       
midrange-l@xxxxxxxxxxxx                                                       
                      l.com>                      cc:                           
                                                          
                      Sent by:                    Subject:  Deleting a file 
created with CPYTOPCD                                         
                      midrange-l-bounces@m                                      
                                                          
                      idrange.com                                               
                                                          
                                                                                
                                                          
                                                                                
                                                          
                      03/10/2004 02:49 PM                                       
                                                          
                      Please respond to                                         
                                                          
                      Midrange Systems                                          
                                                          
                      Technical Discussion                                      
                                                          
                                                                                
                                                          
                                                                                
                                                          




I have a file that is created using the CPYTOPCD command from a CL program.

I need to delete this file once it had some processing performed on it.  Is

there a way that this can be done via CL?  I looked into the DLTF command
but from what I see it will only delete AS/400 physical and logical files.

Am I missing something?

CPYTOPCD FROMFILE(MYLIBRARY/MYFILE) TOFLR('TESTFLDR')
Wouldn't it be nice if there were a DLTPCD command!

Thanks for any help you can provide.

_________________________________________________________________
One-click access to Hotmail from any Web page ? download MSN Toolbar now!
http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



__
This email has been scanned for Viruses and Spam.  For more information
please contact your local Information Security representative.







__
IMPORTANT NOTICE:
This email may be confidential, may be legally privileged, and is for the 
intended recipient only.
Unauthorised access, disclosure, copying, distribution, or reliance on any of 
it by anyone else is prohibited and may be a criminal offence. 
Please delete if obtained in error and email confirmation to the sender.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.