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 secutity 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 hardcoded 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) -
//*

The 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"

Additional Information

Link:
Creating VSAM caching service datasets -> https://docs.zowe.org/stable/user-guide/initialize-vsam-dataset