View previous topic :: View next topic
|
Author |
Message |
Hariharan Ramachandran
New User
Joined: 30 Nov 2010 Posts: 28 Location: Chennai, Tamilnadu,INDIA
|
|
|
|
Hi
I am trying to increase the performance of an VSAM KSDS dataset(Sequential processing). Currently the dataset does not support Extended Addressability. Now my question is..
1. Shall i use AMP=BUFNI,BUFND parmeter in the jcl or shall i use SMB technique(Ill have to make the dataset EA and then use AMP) ??
2. What are the advantages and disadvantages of the above two technique??
3. If anybody has experienced in using the above techniques please suggest me the best one ???
Note - I have already referred the REDBOOK Demystified.
Let me know if more informations are required.
Thanks in advance
#ari |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
Hariharan Ramachandran
New User
Joined: 30 Nov 2010 Posts: 28 Location: Chennai, Tamilnadu,INDIA
|
|
|
|
Thanks peter, i have already gone thru the PDF's now let me make my requirement much clear.
I have a dataset DATASET1 which is not in extended format. This is a master dataset and its been used at various PROC's. Depending on the cobol code for that particular step its access mode may be Direct or Sequential.
Lets consider my cobol has sequential access to DATASET1 which produces huge number of EXCP count and more elapsed time. If i wana increase its performance then which solution shall i go for ??
Soln1 - Ill have to define the DATASET1 as Extended format and use the SMB technique to increase performance
Soln2 - I could code the AMP=BUFNI,BUFND in the ddame of the DATASET1 to increase performance.
now please help me in deciding which solution i shall go for?? Which would be best and cost effective?? will the preferred solution will be acceptable??
If soln1 is best den how does it advantage over soln2 and vice versa ??
Thanks,
#ari |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 592 Location: London
|
|
|
|
To reduce EXCP's then increasing the CISIZE and AMP='BUFNO=xx' values would help, regardless of whether it is Extend Format or not. The CISISZE should still be calculated to fit the MAXLRECL as evenly as possible, and FREESPACE (if any) should also be calculated to be sufficient to contain at least one maximum sized record otherwise it can end up as dead space.
You should really be reading the IBM's VSAM Demystified or Ron Fergusons VSAM File Structures to understand VSAM properly. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Pete, The addition of buffers can also be one of the worst performance degraders if the file is access as skip sequential.
At the switch of access method all buffers are cleared and reloaded, so the more buffers you have the more resource it uses just to perform the refreshes. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Expat,
with all respect i dont agree with that. CICS uses a lot of skip sequential
access. Beside that why doing skip sequential mixed with random and or totaly sequental? Skip sequential slows down when records are far apart in a large dataset. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Peter, I agree, so was merely alerting the OP to the possible effects of making changes without fully understanding the consequences.
So give me a break mate, this is the first technical response I've given in ages, rather than the RTFM line of replies for the threads that deserved them. It was actually a little pleasing to be able to reply like that. Go on, go on, ruin my day, moan moan whinge whine, it's all you fault |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Expat,
i started with "with all respect", expecting you to be a little slow after all
that RTFM stuff.
But im sure you will be recuperated within no time.
Still with a lot of regards,
yours truly. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Peter,
Just had a crap weekend, and today so far wasn't at all any better.
Get me a job over there and I'll buy you a beer or five |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Expat,
im really sorry your weekend was rotten. If i could i would have gotten you a job, but do you expect it to be better here?
But to have some beers doesnt need a reason, at least for me.
But (try to) cheer up.
Cheers,
Peter |
|
Back to top |
|
|
Hariharan Ramachandran
New User
Joined: 30 Nov 2010 Posts: 28 Location: Chennai, Tamilnadu,INDIA
|
|
|
|
Thanks |
|
Back to top |
|
|
Hariharan Ramachandran
New User
Joined: 30 Nov 2010 Posts: 28 Location: Chennai, Tamilnadu,INDIA
|
|
|
|
expat wrote: |
Peter, I agree, so was merely alerting the OP to the possible effects of making changes without fully understanding the consequences. |
Expat, The questions was asked knowing the consequences and was trying to get an infromation from people who may have experienced the worst case scenarios.
Regards,
#ari |
|
Back to top |
|
|
|