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
 

 

MOVE SMS datasets to TARGET volume

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: MOVE SMS datasets to TARGET volume
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Apr 13, 2012 5:31 pm    Post subject:
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    Post subject: Reply to: MOVE SMS datasets to TARGET volume
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: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 13, 2012 8:01 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Thu May 03, 2012 1:17 pm    Post subject:
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    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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm


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