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

DUMP A Multi volume datasets and restore to a single volume.


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

New User


Joined: 04 Feb 2015
Posts: 32
Location: Tajikestan

PostPosted: Mon Oct 01, 2018 12:02 pm
Reply with quote

Dear friends
Because of improvement and increasing our disk's size we want to DUMP multi volume dataset (type is OSAM) and restore it to a single volume. How is it possible?!
Which control statements we must use in ADRDSSU?
Regards
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Oct 01, 2018 1:32 pm
Reply with quote

ADRDSSU is the way to go,

so maybe you only need a COPY rather than a Dump followed by a RESTORE.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Mon Oct 08, 2018 11:57 pm
Reply with quote

I don't think there is an OSAM format, do you mean QSAM?

The DFDSS control statements below will move it assuming you have the required access. DFDSS will try and create it in as few extents as possible on the target volume. The original volumes will probably have to be DISNEW'd in SMS first so the dataset doesn't go back on them.

COPY ALLE ALLD(*) OPT(4) SPHERE TGTA(SRC) DELETE CATALOG -
DS(INC(your.file.name))

If the target volume is an EAV type you may have to include a PATCH command first to turn the EATTR=OPT on so it can go into cylinder manged space. You'll need access to the STGADMIN profile to use this. However if the dataset has a Dataclas with EATTR=OPT specified you may not need the patch.

SET PATCH 5B = FF
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Oct 09, 2018 12:22 am
Reply with quote

Quote:
I don't think there is an OSAM format, do you mean QSAM?



it could be a typo but ...
Quote:
OSAM is a special access method supplied with IMS™.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue Oct 09, 2018 1:02 am
Reply with quote

enrico-sorichetti wrote:
Quote:
I don't think there is an OSAM format, do you mean QSAM?



it could be a typo but ...
Quote:
OSAM is a special access method supplied with IMS™.


Yeah you're right Enrico, I vaguely remember those from about 25+ years ago, and they were a pain to deal with from what I recall, which isn't much!. I looked it up and couldn't see it as one of the access methods so assumed it's no longer supported, like ISAM. Further looking I see it is there.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue Oct 09, 2018 1:13 am
Reply with quote

yawn..

start I/O access method (default method)

The start I/O access method reads OSAM, ESDS, and KSDS data sets at speeds approaching the physical capabilities of the input device, with a significant reduction in CPU time.

native access method (OSAM/VSAM)

The native access method reads the data set at the same speed as an optimally tuned IMS Database Image Copy utility, but you can still take advantage of other product features (such as asynchronous processing and data compression). If you select this method, you can also control the input data set buffer pool size. For more information, see Buffers.

When processing a VSAM KSDS, a HISAM overflow data set, or an overflow data set for a secondary index with duplicate keys, the utility uses control interval access to improve performance.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Tue Oct 09, 2018 2:38 pm
Reply with quote

If you really mean OSAM, then ADRDSSU can be used according to this link
www.ibm.com/support/knowledgecenter/en/SSEPH2_13.1.0/com.ibm.ims13.doc.dag/ims_useosamaccess.htm
But there are few notes in that document, so I strongly suggest that you read it. And do a test before deleting anything.
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 How to append a PS file into multiple... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts Volume chain using DFSORT DFSORT/ICETOOL 17
No new posts Code Multi Row fetch in PL1 program PL/I & Assembler 1
Search our Forums:

Back to Top