Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Moving datasets using Adrdssu

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Moving datasets using Adrdssu
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: 8593
Location: Back in jolly old England

PostPosted: Sat Sep 12, 2009 12:43 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 15, 2009 9:16 pm    Post subject:
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    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 Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us