View previous topic :: View next topic
|
Author |
Message |
Vinodh S
New User
Joined: 12 Apr 2012 Posts: 28 Location: LA, California
|
|
|
|
Hi all
I'm facing a problem in flashcopying a VSAM into desired Volumes.
I have a VSAM that is to be copied on to any Volume in a particular Storage Group.
Consider i have a Storage GROUP name as "TEST". and lets say there are 10 Volumes in this storage group, namely, TES440,TES441,TES442... TES419.
Now i have as VSAM file, PROD.MEMB.INFO.KSDS and i'm copying this to TEST.MEMB.INFO.KSDS.
All i need is that the File, TEST.MEMB.INFO.KSDS be copied to any one of the Volumes in the TEST storage group using ADRDSSU utility.
Here is what i did, but the File got created in some other Volumes and not in the ones i have mentioned.
Code: |
//STEP010 EXEC PGM=ADRDSSU,
// COND=(0,NE)
//*********************************************************************
//* FLASH COPY OF VSAM FILES *
//*********************************************************************
//*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//OUTVOL1 DD VOL=SER=TES441,UNIT=3390,DISP=SHR
//OUTVOL2 DD VOL=SER=TES442,UNIT=3390,DISP=SHR
//OUTVOL3 DD VOL=SER=TES444,UNIT=3390,DISP=SHR
//SYSIN DD *
COPY DATASET( -
INCLUDE(PROD.MEMB.INFO.KSDS) -
) -
PERCENTUTILIZED( -
100 -
) -
TGTALLOC(SOURCE) -
RENAMEU((PROD.MEMB.INFO.KSDS, -
TEST.MEMB.INFO.KSDS), -
(PROD.MEMB.INFO.ALTID.AIXB, -
TEST.MEMB.INFO.ALTID.AIXB), -
(PROD.MEMB.INFO.ALTID.PATH, -
TEST.MEMB.INFO.ALTID.PATH)), -
FCNOCOPY -
MGMTCLAS(TMIG) -
TOL(ENQF) -
SPHERE -
OUTDDNAME( -
OUTVOL1,OUTVOL2,OUTVOL3 -
) -
WAIT(5,30) -
SHARE
/*
**************************** Bottom of Data **************************** |
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You MUST talk to your site support group to find out why the allocation did not go where you thought it should. Nobody on this forum is likely to work at your site, and only someone working at your site can help you get the right storage group. |
|
Back to top |
|
|
Vinodh S
New User
Joined: 12 Apr 2012 Posts: 28 Location: LA, California
|
|
|
|
Robert
Thanks for the quick reply.
I was not very sure if the method i used was correct.
I just have mentioned some of the Volumes that are present in the STORAGE GROUP TEST.
Also i'm looking for some help that will allow me to mention direclty the STORAGE GROUP , STORGRP=TEST ,instead of coding the VOLUME SERIAL of the storage group. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Which part of Robert's post was not clear?
You need to speak with your local site support group as they are the ones who know your environment. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
ADRDSSU has the optional parameter STORCLAS that can be used to specify a storage class. How the storage classes map to the storage groups, however, is extremely specific to your site. Furthermore, your site may have ACS routines installed that, for example, prohibit a KSDS from going to storage group TEST -- only your site support group can tell you for sure.
As I said earlier, and Dick repeated, TALK TO YOUR SITE SUPPORT GROUP -- THEY CAN HELP YOU, WE CANNOT. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Are the two volumes, source and target, on the same DASD sub system
But you really do need to talk to your storage management people, as only they know the secrets of your site |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
If the target datasets are SMS managed you don't need to specify output volumes at all. Assuming the target dataset names are set up in the ACS Storgrp routine to go to the TEST Storgrp then SMS will take care of that for you. It will select any volume from the TEST Storgrp based the standard volume selection rules for SMS. You shouldn't have to be concerned what the volume is.
Please do heed the advice above and speak to your local Storage support, just in case you're trying to do something that will annoy them, in which case you will suffer more than if you asked BEFORE starting. |
|
Back to top |
|
|
|