View previous topic :: View next topic
|
Author |
Message |
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
Hi All,
Is there any efficient utility to copy VSAM cluster to GDG other than IDCAMS? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Most people would use their sort (DFSORT or SYNCSORT) product. |
|
Back to top |
|
|
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
If VSAM records are less, as you said DFSORT or SYNCSORT is preferred. I think records are more then it wont be efficient . |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
I think records are more then it wont be efficient . |
apart Your thinking do You have any data to confirm Your assertion? |
|
Back to top |
|
|
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
enrico,
I tested now. For copying the 30 records using IDCAMS is taking less time than using DFSORT and SYNCSORT utility.
Any proof you want? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
30 records is not a statistically relevant record count
so useless as a performance/capacity planning indicator
Quote: |
If VSAM records are less, as you said DFSORT or SYNCSORT is preferred. I think records are more then it wont be efficient . |
You are just contradicting Yourself |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
If you're doing the copy for backup purposes, DF/DSS would be a possibility. You can't look at the VSAM data without a restore, though.
Copying 30 records is meaningless -- use anything you want. For copying 30 million records, I'd use DF/DSS or DFSORT depending on the reason for the copy. |
|
Back to top |
|
|
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
Just for check I used 30 records.
When compared to DFSORT or SYNCSORT and IDCAMS, IDCAMS is more efficient.
Any way my question is not this.
My question is " Is there any utility to copy VSAM to GDG which is more efficient than IDCAMS? "
For this DFSORT or SYNCSORT is not the answer . |
|
Back to top |
|
|
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
Robert ,
My requirement is 49,427,158 records.
when I use IDCAMS it is taking 78.53 minutes for exection.
Is there any way to reduce the execution time? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
You were already given an answer...
use the sort product available in Your installation
if You do not like the answers You get, change the provider |
|
Back to top |
|
|
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
Are you sure that it will reduce the execution time? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Only testing will tell |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
IDCAMS may be more efficient for 30 records due to lower overhead in setting up to run. I would expect the sort products (and DF/DSS for that matter) to be much more efficient for 50 million records.
As far as the IDCAMS time for 50 million records, how many buffers do you have on the output DD statement? How many BUFND and BUFNI on the input DD statement? Are you copying to tape or disk? What's the output block size and LRECL? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
My question is " Is there any utility to copy VSAM to GDG which is more efficient than IDCAMS? " |
Yes, almost every sort/backup/copy utility will perform better than IDCAMS.
Quote: |
For this DFSORT or SYNCSORT is not the answer . |
By what/whose direction?
Why you would waste the effort of running timing tests on 30 records is beyond me. Doing things like is one of the main reasons that bad information/statistics gets published.
Suggest you load a vsam file with full volume and run different available utilities (your sort, dfdss, others, etc). If you run these tests at a time the system is nearly empty, the wall time may be meaningful. Regardless of when you run the tests, you will want to note the cpu times and the amount of i/o required. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
As Dick mentioned, elapsed time is usually worthless when looking for efficiency. Pay more attention to CPU time and EXCPs. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
For backup / recovery purposes I would suggest looking at FAVER. A brilliant VSAM product. |
|
Back to top |
|
|
|