MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delete the input file after copy

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
esaccy
Beginner


Joined: 26 May 2011
Posts: 7
Topics: 4

PostPosted: Wed Jun 01, 2011 4:12 am    Post subject: Delete the input file after copy Reply with quote

Hi
I had a input file of LRECL 300 and FB type.
I want to copy this to another file of same length and after copy i want to delete the source file.
Can i do it in a ICETOOL step?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jun 01, 2011 5:18 am    Post subject: Reply with quote

why don't you just rename the file?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
esaccy
Beginner


Joined: 26 May 2011
Posts: 7
Topics: 4

PostPosted: Wed Jun 01, 2011 5:33 am    Post subject: Reply with quote

I want to copy the file into an GDG.thats what i didnt go for renaming
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jun 01, 2011 6:02 am    Post subject: Reply with quote

you really don't need ICETOOL, SORT will accomplish the copy operation.
then either
  • have a second step, that based on the RC of the sort step performs a ds delete
  • use DISP=(old,delete,keep) for the sortin dd statement

_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group