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
 

 

ADRDSSU Help - Create Output files in desired volume.

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

New User


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

PostPosted: Mon Jun 25, 2012 3:55 pm    Post subject: ADRDSSU Help - Create Output files in desired volume.
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jun 25, 2012 5:28 pm    Post subject:
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: 30
Location: LA, California

PostPosted: Mon Jun 25, 2012 7:15 pm    Post subject: Reply to: ADRDSSU Help - Create Output files in desired volu
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

Site Director


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

PostPosted: Mon Jun 25, 2012 7:44 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jun 25, 2012 7:58 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 26, 2012 12:22 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Tue Jun 26, 2012 2:41 pm    Post subject:
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    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 How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 7 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm


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