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
 

 

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 DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Moving a PD to PD spoorni DFSORT/ICETOOL 8 Fri Oct 07, 2016 9:52 pm
No new posts Moving character data to smallint in db2 rikdeb DB2 5 Thu Jul 14, 2016 12:38 am
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm


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