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

MOVE SMS datasets to TARGET volume


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

New User


Joined: 15 May 2007
Posts: 16
Location: bangalore

PostPosted: Fri Apr 13, 2012 5:20 pm
Reply with quote

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

Global Moderator


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

PostPosted: Fri Apr 13, 2012 5:31 pm
Reply with quote

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

New User


Joined: 15 May 2007
Posts: 16
Location: bangalore

PostPosted: Fri Apr 13, 2012 5:34 pm
Reply with quote

Got it and thank you for the reply.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Apr 13, 2012 8:01 pm
Reply with quote

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 icon_eek.gif
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Thu May 03, 2012 1:17 pm
Reply with quote

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
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 How to pass the PARM value to my targ... COBOL Programming 8
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts Volume chain using DFSORT DFSORT/ICETOOL 17
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
Search our Forums:

Back to Top