Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

JCL & VSAM :: VSAM define for large file

$
0
0
Author: jerryte
Subject: VSAM define for large file
Posted: Wed Oct 05, 2016 1:51 am (GMT 5.5)

I want to define a VSAM file that will be loaded once with a large amount of data (50M records). The key is 20 bytes followed by another 20 bytes of data. After loading it will then be read by a program to lookup the key value. No further insert/update/delete will be done.

Below is what I coded. Are there any options that will speed up the read access?
Code:
DEFINE CLUSTER -
 (NAME(my.test.VSAM) -
    INDEXED NONSPANNED               -
    RECORDSIZE(40 40) KEYS(20 0)     -
    NOREUSE                          -
    NOERASE                          -
    SPEED                            -
    OWNER(me)                   -
    BUFFERSPACE(66048)               -
    FREESPACE(0 0)                   -
    SHR(1 3))                        -
  INDEX(NAME(my.test.VSAM.INDEX)      -
    TRACKS(1000 1000) CISZ(4096) )                 -
  DATA(NAME(my.test.VSAM.DATA)        -
    TRACKS(1000 1000)                              -
 )


Viewing all articles
Browse latest Browse all 8500

Trending Articles