View previous topic :: View next topic
|
Author |
Message |
prasad029
New User
Joined: 15 May 2007 Posts: 16 Location: bangalore
|
|
|
|
Hi All,
I am trying to move an SMS PDS dataset to a given target volume with, however my ACS is moving to a different volume with in the same SG. I have tried using BYPASSACS and STORCLAS, still it is not going to target volume. Any idea where I am going wrong.
//SOURCE DD DISP=SHR,UNIT=SYSALLDA,VOL=SER=PDBSY3
//TARGET DD DISP=SHR,UNIT=SYSALLDA,VOL=SER=PDBSY9
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY DATASET(INCLUDE( -
DBSYS2.WORKING.REPORT)-
INDD(SOURCE) -
OUTDYNAM(TARGET) -
BYPASSACS(**) -
STORCLAS(SCDB2) -
DELETE
/* |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You are going wrong in thinking you can do what you say you want to. From the Using Data Sets manual in the DFSMS bookshelf (emphasis added):
Quote: |
1.1.1.1 System-Managed Data Sets
The Storage Management Subsystem (SMS) is an operating environment that automates the management of storage. Storage management uses the values provided at allocation time to determine, for example, on which volume to place your data set, and how many tracks to allocate for it. Storage management also manages tape data sets on mountable volumes that reside in an automated tape library. With SMS, users can allocate data sets more easily. |
As long as your volume is part of a storage pool and hence SMS-managed, you CANNOT specify which volume to place a data set on -- that will be determined by SMS. |
|
Back to top |
|
|
prasad029
New User
Joined: 15 May 2007 Posts: 16 Location: bangalore
|
|
|
|
Got it and thank you for the reply. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I do believe that using a "GUARANTEED SPACE" storage class for the dataset then SMS will honour your volume request.
Well, it always used to do it |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
expat is right, the Guaranteed Space Storclas is the only means to do this, but the ACS routines still have to allow that dataset or Storclas to be allocated to the Storgrp where your target volume resides. That setup is totally site dependent. |
|
Back to top |
|
|
|