IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ADRDSSU Help - Create Output files in desired volume.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vinodh S

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Mon Jun 25, 2012 3:55 pm
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 25, 2012 5:28 pm
Reply with quote

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

New User


Joined: 12 Apr 2012
Posts: 28
Location: LA, California

PostPosted: Mon Jun 25, 2012 7:15 pm
Reply with quote

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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jun 25, 2012 7:44 pm
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 25, 2012 7:58 pm
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 26, 2012 12:22 pm
Reply with quote

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

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue Jun 26, 2012 2:41 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top