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

VSAM Buffering Query


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

New User


Joined: 18 Apr 2011
Posts: 3
Location: India

PostPosted: Mon Apr 18, 2011 8:41 pm
Reply with quote

Hi,

I have a VSAM File which is read sequentially, and taking longer time during the Execution time. I have tried using the Buffering values in the JCL. But, didn't have a luck...

I coded AMP=('BUFND=9,BUFNI=7') but still taking more exception count. What are the optimum values to be coded in the JCL. Please refer the attached document for the LISTCAT entries of the dataset.

refrain from posting attachments, not everybody can see them, reducing the number of people capable to help

the attachment has been inlined an marked with the code tags



Code:

     DD Name: SRVBII1          DS Name: MCLLMBP.LIVE.SRVBILL                   
                           Data Source: JOB CTL BLOCKS                         

 Status   Type Format  Access   Opts            LSR  Misc                       
 CLSD-IN  KSDS         NSR      SEQ   KEY                                       
                                                                       
         
 DATA:------------------------------------------------------------------------ 
  CIFR  CAFR   CISP   CASP   CISZ   CI-CA   Keyln  Keyps  Maxlr                 
 0      0      0      0      18,432 45      28     0      129                   
                                                                               
 EXTNT EXCPs      Reccount     Retrved     Updated     Deleted     Insrted     
 1     26,053     2,380,364    1,340,832   0           0           0           
                                                                               


 INDEX:----------------------------------------------------------------------- 
  CIFR   CAFR  CISP       CASP  CISZ    CA     LVL    EXT Reccnt    EXCP       
 0       0     0          0     1,024   33     3      1   379       9,390       
         



  DATA ------- MCLLMBP.LIVE.SRVBILL.D                                                 
ATTRIBUTES                                                                     
  KEYLEN----------------28     AVGLRECL-------------129     BUFSPACE-----------37888     CISIZE-------------18432
  RKP--------------------0     MAXLRECL-------------129     EXCPEXIT----------(NULL)     CI/CA-----------------45
  SHROPTNS(2,3)      SPEED     UNIQUE           NOERASE     INDEXED       NOWRITECHK     NOIMBED       NOREPLICAT
  UNORDERED        NOREUSE     NONSPANNED                                       
STATISTICS                                                                     
  REC-TOTAL--------2380364     SPLITS-CI--------------0     EXCPS--------------69556
  REC-DELETED------------0     SPLITS-CA--------------0     EXTENTS----------------1
  REC-INSERTED-----------0     FREESPACE-%CI----------0     SYSTEM-TIMESTAMP:   
  REC-UPDATED------------0     FREESPACE-%CA----------0          X'C7A348B1C8D56
  REC-RETRIEVED---11712216     FREESPC--------520445952                         
ALLOCATION                                                                     
  SPACE-TYPE------CYLINDER     HI-A-RBA-------829440000                         
  SPACE-PRI-----------1000     HI-U-RBA-------309381120                         
  SPACE-SEC------------250                                       

INDEX ------ MCLLMBP.LIVE.SRVBILL.I               

ATTRIBUTES                                                                     
  KEYLEN----------------28     AVGLRECL---------------0     BUFSPACE---------------0     CISIZE--------------1024
  RKP--------------------0     MAXLRECL------------1017     EXCPEXIT----------(NULL)     CI/CA-----------------33
  SHROPTNS(2,3)   RECOVERY     UNIQUE           NOERASE     NOWRITECHK       NOIMBED     NOREPLICAT     UNORDERED  NOREUSE                                                                       
STATISTICS                                                                     
  REC-TOTAL------------379     SPLITS-CI--------------0     EXCPS--------------56004     INDEX:
  REC-DELETED------------0     SPLITS-CA--------------0     EXTENTS----------------1     LEVELS-----------------3
  REC-INSERTED-----------0     FREESPACE-%CI----------0     SYSTEM-TIMESTAMP:            ENTRIES/SECT-----------6   
  REC-UPDATED------------0     FREESPACE-%CA----------0          X'C7A348B1C8D56746'     SEQ-SET-RBA------------0
  REC-RETRIEVED----------0     FREESPC----------2991104                                 HI-LEVEL-RBA-------81920
ALLOCATION                                                                     
  SPACE-TYPE---------TRACK     HI-A-RBA---------3379200                         
  SPACE-PRI------------100     HI-U-RBA----------388096                         
  SPACE-SEC-------------50                                                     


Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 18, 2011 8:59 pm
Reply with quote

Quote:
I have a VSAM File which is read sequentially, and taking longer time during the Execution time.
This is a completely meaningless statement. Taking longer time than what? Without some basis for comparison you should not be even including such a statement in your post.

Try
Code:
AMP=('BUFND=50,BUFNI=4')
or even
Code:
AMP=('BUFND=100,BUFNI=4')
My rule of thumb is to set BUFND to read a full cylinder, which would be 45 CI.
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts RC query -Time column CA Products 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top