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: 7935
Location: Bellevue, IA

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: 7935
Location: Bellevue, IA

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: 437
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


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