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

Moving datasets using Adrdssu


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

New User


Joined: 10 Jun 2009
Posts: 59
Location: Hyderabad

PostPosted: Fri Sep 11, 2009 7:50 pm
Reply with quote

Hi Buddies,

I have a task to move datasets among SMS and Non-SMS managed volumes using Adrddsu utility

I succeded in moving the dataset from Non-SMS to SMS, Non-SMS to Non SMS.

But I am unable to move the dataset from SMS to Non-SMS. Can u pls help

This is the code that I am tryin to execute

Code:

//DASD1 DD UNIT=SYSDA,VOL=SER=DS943E,DISP=OLD
//DASD2 DD UNIT=SYSDA,VOL=SER=TEST12,DISP=OLD
//SYSIN DD *                                 
COPY INDDNAME(DASD1),OUTDDNAME(DASD2) -
DATASET(INCLUDE('xxxxx.TEST.DS')) -   
BYPASSACS(**) -                       
DELETE FORCE CATALOG         
 
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sat Sep 12, 2009 12:43 pm
Reply with quote

Quote:
But I am unable to move the dataset from SMS to Non-SMS. Can u pls help

Well, that explains everything. With this much information the answer is dead simple icon_rolleyes.gif

1) Are the datasets being moved to NONSMS SMS defined
2) Is there a specific SMS STORCLAS for NONSMS datasets
3) If (2), are you authorised to use it

Please explain exactly what is happening, or not, maybe posting a snippet of the DFdss log.
Back to top
View user's profile Send private message
ananth86

New User


Joined: 10 Jun 2009
Posts: 59
Location: Hyderabad

PostPosted: Tue Sep 15, 2009 7:54 pm
Reply with quote

Quote:

2) Is there a specific SMS STORCLAS for NONSMS datasets
3) If (2), are you authorised to use it


1. For NONSMS datasets no Storclas is defined in our system
2. I am authorised to use it.

Can u find any bug in my code? Is there any other statement that I have to include in the SYSIN card?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Sep 15, 2009 9:16 pm
Reply with quote

I would suggest that you speak to someone in the storage team that has an idea of what goes on. I usually set up a STORCLAS of NONSMS to force datasets to a NONSMS volume, and therefor is a NONSMS managed dataset.

Of course the STORCLAS is protected via the ACS routines to allow only authorised users to do this.
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 Moving Or setting POINTER to another ... COBOL Programming 2
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts How do I SFTP a ADRDSSU file from mai... IBM Tools 4
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
Search our Forums:

Back to Top