View previous topic :: View next topic |
Author |
Message |
bindu Beginner
Joined: 05 Jan 2003 Posts: 17 Topics: 7
|
Posted: Thu Feb 27, 2003 8:30 am Post subject: Copying all seqfiles |
|
|
Hello ,
We have lot of sequential files with the naming convention starting with TSS.USERID.* .
Now our client has decided to delete all TSS stuff.
So we have to rename it to another one DOU2. Is there any method for doing this at one go.Only the Tss need to be changed to DOU2.Rest of the naming is the same.
Can anybody help me on this..THis has to be done soon
Regards,
Bindu |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Feb 27, 2003 11:48 am Post subject: |
|
|
bindu,
You can use IDCAMS ALTER command for a mass generic named datasets.The following JCL will give you the desired results.
Code: |
//STEP0100 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER 'TSS.USERID.*' -
NEWNAME('DOU2.USERID.*')
/*
|
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
binduvnair Beginner
Joined: 07 Jan 2003 Posts: 16 Topics: 8
|
Posted: Fri Feb 28, 2003 1:13 am Post subject: |
|
|
thanks Kolusu .. will try out this .. thanks a lot |
|
Back to top |
|
 |
|
|