SaggingRufus
SaggingRufus

Reputation: 1834

Extended VSAM allocation

I have been tasked with a project that requires a VSAM file over the 4GB limit. I am trying to define an extended VSAM using IDCAM, but I cannot find an example or guide to help me. This is how I would define a regular VSAM:

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD*
 DEFINE CLUSTER                      - 
       (NAME(AA.AFILE.AV)            -      
        KEYS(10 0)                   -             
        RECSZ(1011 1011)             -         
        INDEXED                      -  
                                     -         
                                     -         
        CYL (50 50)                  -              
        VOL (* * * * * * * * * *)    -
        SHR (2 3)                    -
       )                             -
        DATA                         -
       (NAME(AA.AFILE.AV.DATA)       -      
        SHR (2 3) )                  -
        INDEX                        -
       (NAME(AA.AFILE.AV.INDEX)      -      
        SHR (2 3)                    -
       )  
/*

I was reading that there is an option of DSNTYPE=EXTREQ, but no matter where I place it, I get an error. Can someone show me an example of how to use IDCAMS to allocate an extended VSAM?

Upvotes: 0

Views: 1444

Answers (1)

SaggingRufus
SaggingRufus

Reputation: 1834

Adding this answer for anyone who comes after me with the same question:

I talked to the storage guys at my site, and they were able to set up some sort of filter on the system. Now, every time we allocate these VSAMS (the way we allocated them in the past) they will be extended VSAMS by default. There were no JCL changes we needed to make.

Upvotes: 0

Related Questions