moving data sets to new STROGRP

2006-11-14 Thread Judy Ellis
Hi,

I am separating my DB2 ARCHLOGS and Image copes to separate POOLS and now 
need to move the image copies to the new SMS volumes. Does anyone know how 
I can accomplish that?  I did see the MOVE NODEDATA node nname FROMSTGPOOL 
=TOSTGPOOL= and am thinking that might work but I need to be sure.

ex..   move nodedata DB2DBKUP.*.*.IC*.* FROMSTGPOOL=ARCHLOG TOSTGPOOL=DB2DIC

Thanks,

Jellis

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: moving data sets to new STROGRP

2006-11-14 Thread O'Brien, David W. (NIH/CIT) [C]
Judy,

I would suggest running a dfdss copy with delete purge to move your
datasets. see sample below

//STEP1EXEC PGM=ADRDSSU,REGION=6M  
//SYSPRINT DD   SYSOUT=*   
//SYSINDD   *  
 COPY DATASET( -   
   INCLUDE(DB2DBKUP.*.*.IC*.*)) -  
   TGTALLOC(SOURCE) -  
   PROCESS(UNDEF)  -   
   OUTDYNAM(bb)   /* ALLOC VOL in output storage group   */ 
   CATALOG -   
   SPHERE -
   VOLCOUNT(*) -   
   DELETE REPLACE  
/*
I'm assuming that your SMS routines have been changed to drive your new
DB2DBKUP.*.*.IC*.* allocations to the desired Storage Group or else you
will also need the following:

BYPASSACS(DB2DBKUP.*.*.IC*.*)  -
   STORCLAS() -desired storage class

   MGMTCLAS(dd) -  desired management class

Hope this helps,
Dave O'Brien

-Original Message-
From: Judy Ellis [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 14, 2006 11:16 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: moving data sets to new STROGRP

Hi,

I am separating my DB2 ARCHLOGS and Image copes to separate POOLS and
now need to move the image copies to the new SMS volumes. Does anyone
know how I can accomplish that?  I did see the MOVE NODEDATA node nname
FROMSTGPOOL 
=TOSTGPOOL= and am thinking that might work but I need to be sure.

ex..   move nodedata DB2DBKUP.*.*.IC*.* FROMSTGPOOL=ARCHLOG
TOSTGPOOL=DB2DIC

Thanks,

Jellis

--
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html