Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to copy one tape PS to new tape PS along with EXPTD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mahesh83

New User


Joined: 29 Jan 2008
Posts: 14
Location: Bangalore

PostPosted: Wed Dec 17, 2008 8:37 pm    Post subject: How to copy one tape PS to new tape PS along with EXPTD
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Dec 17, 2008 9:14 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Dec 17, 2008 10:33 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Dec 18, 2008 8:09 am    Post subject:
Reply with quote

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
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Thu Dec 18, 2008 5:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Dec 18, 2008 5:53 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us