How to set VSAM as a storage solution in caching services
search cancel

How to set VSAM as a storage solution in caching services

book

Article ID: 258282

calendar_today

Updated On:

Products

Brightside

Issue/Introduction

How to configure VSAM as caching services in Zowe?
Is there a requirement to pre-define a VSAM file or it will be created by Zowe?
How to set the security access for this VSAM file ?

Environment

Release : 4.0

Resolution

The VSAM file doesn't need to be predefined, it will be configured by extracting values( hlq, mode, vol and stgclass) from the YAML file. 

This will create a target JCL member in zowe.setup.mvs.jcllib(ZWECVSCM) with hard-coded values as below;

    REC(80 20) -
    INDEXED) -
   DATA(NAME(#dsname.DATA) -
    RECSZ(4096 4096) -
    UNIQUE -
    KEYS(128 0)) -
   INDEX(NAME(#dsname.INDEX) -
    UNIQUE)
//RLS      DD *
    STORCLAS(#storclas) -
    LOG(NONE) -
//NONRLS   DD *
    VOLUME(#volume) -
    SHAREOPTIONS(2 3) -
//*

There is no particular need to provide update access to VSAM for every Zowe user.  That will be managed by resource class and dataset protection created by Zowe security job.

For a detailed explanation please refer to "Creating VSAM caching service datasets"