View previous topic :: View next topic |
Author |
Message |
esaccy Beginner
Joined: 26 May 2011 Posts: 7 Topics: 4
|
Posted: Wed Jun 01, 2011 4:12 am Post subject: Delete the input file after copy |
|
|
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 |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 01, 2011 5:18 am Post subject: |
|
|
why don't you just rename the file? _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
esaccy Beginner
Joined: 26 May 2011 Posts: 7 Topics: 4
|
Posted: Wed Jun 01, 2011 5:33 am Post subject: |
|
|
I want to copy the file into an GDG.thats what i didnt go for renaming |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 01, 2011 6:02 am Post subject: |
|
|
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 |
|
|
|
|