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
 
DUMP A Multi volume datasets and restore to a single volume.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
lind sh

New User


Joined: 04 Feb 2015
Posts: 31
Location: Tajikestan

PostPosted: Mon Oct 01, 2018 12:02 pm    Post subject: DUMP A Multi volume datasets and restore to a single volume.
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: 8747
Location: Welsh Wales

PostPosted: Mon Oct 01, 2018 1:32 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 470
Location: London

PostPosted: Mon Oct 08, 2018 11:57 pm    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10543
Location: italy

PostPosted: Tue Oct 09, 2018 12:22 am    Post subject: Reply to: DUMP A Multi volume datasets and restore to a single volume.
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 User


Joined: 31 Dec 2009
Posts: 470
Location: London

PostPosted: Tue Oct 09, 2018 1:02 am    Post subject: Re: Reply to: DUMP A Multi volume datasets and restore to a single volume.
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 User


Joined: 31 Dec 2009
Posts: 470
Location: London

PostPosted: Tue Oct 09, 2018 1:13 am    Post subject:
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 User


Joined: 01 Sep 2015
Posts: 251
Location: Denmark

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

If you really mean OSAM, then ADRDSSU can be used according to this link
https://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    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 Single step to take backup of multipl... Vignesh Sid JCL & VSAM 1 Thu Nov 29, 2018 8:12 pm
No new posts Facing issue while executing multi ro... aagarwal88 DB2 6 Tue Oct 02, 2018 8:11 am
No new posts Merge two files and sum up the count ... preeti6 JCL & VSAM 6 Thu Sep 06, 2018 10:57 am
No new posts Concatenaing multiple rows to single ... Vignesh Sid DFSORT/ICETOOL 1 Tue Aug 14, 2018 8:59 am
No new posts DFSMShsm dump tape migration to new t... pietras65 IBM Tools 1 Mon Aug 13, 2018 8:43 pm

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