View previous topic :: View next topic
|
Author |
Message |
mahesh83
New User
Joined: 29 Jan 2008 Posts: 14 Location: Bangalore
|
|
|
|
Hi..
I have some 1000s of tape datasets which are to be copied along with its expiry date(EXPTD) to a new tape dataset(only name change). I used file-aid step in a jcl and tried to create a new tape dataset which is the copy of tape dataset using a DD like parameter but it didnt work..
EXPTD needs to be copied to the new dataset. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
1) Use ICEGENER - probably the most efficient copy tool.
2) Have you tried EXPDT=*.SYSUT1 - BUT, and a big but, you need to talk to your storage management people to ensure that any RETPD / EXPDT that you specify will be honoured by the copy and not overridden by the TMS.
If possible - get a listing from the TMS showing expiry dates and use these, else IDCAMS LISTCAT may show an expiry date for tape datasets. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
I'd say you'll need to specify the new EXPDT in the JCL for each copy.
Per haps you can build the copy step into a PROC and use symbolics for DSN, EXPDT, etc.
Code: |
//COPY PROC
//ST1 EXEC PGM=??
//SYSUT1 DD DSN=&DSNIN,.......
//SYSUT2 DD DSN=&DSNOUT,EXPDT=&EDATE,.....
// PEND
//COPYIT EXEC COPY,DSNIN=a.b.c,DSNOUT=a.b.d,EDATE=2008/365
// repeat other steps
|
If you can get a listing of DSNs and EXPDTs you could manipulate it into the EXEC stmnts. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I know our storage people have just recently copied thousands of carts to VTS and used a COPYCAT utility.
It is a BrightStor CA-1 Copycat Release 11 product.
the following are the options available
Quote: |
* Options in effect: *
* FILECOPY *
* COMP= *
* CTLFILE= *
* DSN= *
* DUPLEX=NO *
* ERASE=NO *
* FILES=ALL *
* INDISP=RETPD=0000 *
* INPUT=* *
* INUNIT=190 *
* MAXFILES=9999 *
* MERGE=NO *
* OUTDISP=SAME *
* OUTSER= *
* OUTUNIT=VTAPE *
* PREFIX= *
* RECATLG=PREV *
* SAVEINFO=YES *
* SORT=YES *
* USEREXIT=NO *
* VOL=004 *
* WAITTIME=5 *
*====================================================================*
|
This would suit your requirement but of course you must have the product, check with your storage group and see what is available. else follow previous suggestions.
Gerry |
|
Back to top |
|
|
PRABHATH Warnings : 1 New User
Joined: 08 Jun 2006 Posts: 28 Location: hyderabad
|
|
|
|
you really need to check the rules defined in the RDS of CA1 which your storage manager can let you know.
CA1 COPYCAT utility is the best one to use if you have the authority to do so..
Generally if you are using similar naming convention for the new tapes; may be a change at the last quailifier of the DSN should pick up the same rules as that defined for the source tape DSN in RDS(just an assumption though).
IF that is the case IEBGENER or ICEGENER as mentioned above by Expat are good to go. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
you really need to check the rules defined in the RDS of CA1 which your storage manager can let you know. |
And what happens if TLMS or RMM are used instead of CA1.
Please do not give product explicit replies unless you know that this is the product in questio. |
|
Back to top |
|
|
|