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
 

 

Need to move several VSAM files to new Volume

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT
View previous topic :: :: View next topic  
Author Message
jdlowndes

New User


Joined: 19 Jan 2013
Posts: 1
Location: USA

PostPosted: Tue Apr 22, 2014 11:56 pm    Post subject: Need to move several VSAM files to new Volume
Reply with quote

Good afternoon ladies and gents,

I an issue that I greatly need some assistance with, here is the issue:
I need to move approximately 150 or so VSAM files from some old MOD3 volumes to new MOD27 volumes. Both the old and new volumes are SMS controlled. The volumes are also both in the same storage group but the MOD3s have been DISNEW'ed for a couple of months now.

Does anyone have any suggestions on how to go about completing this task. I greatly appreciate your assistance in advance!!!!

(This is a duplicate post from the JCL forum, because I was "Blind" and didn't see the VSAM forum first!!)
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: Wed Apr 23, 2014 7:02 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Suggest you work with your storage management people.

They may already have a recommend/standard process for doing this.

Better to use the existing method rather than create a new one.
Back to top
View user's profile Send private message
jan.sehlbach

New User


Joined: 28 Mar 2014
Posts: 3
Location: Germany

PostPosted: Wed Apr 23, 2014 3:17 pm    Post subject:
Reply with quote

DFSMSdss (ADRDSSU) is your friend

i work with this parameter to empty a volume, but this will only works if datasets are not in-use.

Code:
//S1       EXEC PGM=ADRDSSU,PARM='UTILMSG=YES'
//SYSPRINT DD SYSOUT=*                                       
//SYSIN    DD *                                             
 COPY -                                                     
    DS(                   -                                 
       INC(               -                                 
                   **     -                                 
          )               -                                 
       EXC(SYS1.**)       -                                 
      )                   -                                 
   LIDY(                  -                                 
        (VPU004,3390)   , -                                 
        (VPU005,3390)   , -                                 
                        ) -                                 
    VOLCOUNT(*)           -                                 
    DEL                   -                                 
    ADMIN                 -                                 
    PURGE                 -                                 
    RECAT(*)              -                                 
    ALLD(*)               -                                 
    ALLX SELECTMULTI(ANY)                                   
/*                                                         


if you will only move your specific VSAM you must edit the inc parm, and maybe you don't need the parm ADMIN if you have the rights.
And "LIDY" you must change to your DISNEW Volser.
For the other parameter check the DFSMSdss Storage Administration Guide.
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 -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am


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