View previous topic :: View next topic
|
Author |
Message |
poongs Warnings : 1 New User
Joined: 24 Jan 2007 Posts: 28 Location: pune
|
|
|
|
Hi All,
I have the follwoing requirement.
I need to rename some old tape files and copy the new test file to the old tape file(old file name). I had been testing the rename with the IDCAMS alter option. But it doesn't look like we can rename tape files as it's not working. Please let me know a way of achieving this. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
poongs Warnings : 1 New User
Joined: 24 Jan 2007 Posts: 28 Location: pune
|
|
|
|
Hi Superk,
Thanks for the reply, i did go thru these topics..but still wanted to confirm the fact that we cannot rename a tape dataset. So for my requirement, can i follow the below procedure:
1) copy the old tape dataset to a new name(for backup purpose)
2) delete the old tape dataset
3) copy the new test dataset(with updated records) to the old tape dataset(old file's name to be used here).
Please confirm. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
In theory it looks OK, but if you intend to use the same tapes as well as the same dataset name for the new test files then you may hit some issues with your TMS.
Suggest that you do the copy of the original files to a newname, delete the existing originals, and then recreate using different tape(s). |
|
Back to top |
|
|
poongs Warnings : 1 New User
Joined: 24 Jan 2007 Posts: 28 Location: pune
|
|
|
|
I'm not exactly getting
[/quote]
Can you please elaborate on this. Curretly i'm providing the following details for creating a new tape dataset.
DISP=(NEW,CATLG,DELETE),
UNIT=VTAPE,
DCB=(BLKSIZE=0,LRECL=187,RECFM=FB),
SPACE=(CYL,(500,50),RLSE),
I don't need to mention any Volume information for creating a tape datset in my shop. |
|
Back to top |
|
|
poongs Warnings : 1 New User
Joined: 24 Jan 2007 Posts: 28 Location: pune
|
|
|
|
Sorry the quote in the bove post is the following text
Quote: |
and then recreate using different tape(s).
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
That's fine, it is just that in your original explanation it was not clear whether you wanted to reuse the original tapes or not. As you do not then there is no problem. |
|
Back to top |
|
|
|