Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

VSAM Introduction

By Exforsys | on June 18, 2007 |
MainFrame

VSAM Introduction

In this Mainframe tutorial, you will learn about VSAM, what is VSAM, VSAM structure, types of VSAM datasets, Entry Sequenced Data Set (ESDS), Key Sequenced Data Set (KSDS), Linear Data Set (LDS) and Relative Record Data Set (RRDS).

What is VSAM?

VSAM stands for Virtual Storage Access Method. The VSAM is a method used for managing files in mainframe system. That is in other words VSAM is a data management system used in mainframe systems and this was introduced by IBM.  VSAM also known as Virtual Storage Access Method is an access method for IBM’s mainframe operating system – MVS.

VSAM Structure:

The management of data takes place as records in VSAM system and it is allowed for VSAM to be of any length as per the ends of user. The VSAM supports fixed as well as variable length records. These records are placed in blocks which are termed as Control Intervals and these Control Intervals are measured in bytes. The Control Intervals are further placed as Control Areas which is still of larger size.

Types of VSAM datasets:

The datasets of VSAM are generally referred as clusters and there are four types of VSAM datasets based on the way the records are stored and accessed which are given below:

• Entry Sequenced Data Set (ESDS)
• Key Sequenced Data Set (KSDS)
• Linear Data Set (LDS)
• Relative Record Data Set (RRDS)

Entry Sequenced Data Set (ESDS)

The Entry Sequenced Data Set is also called as ESDS and here each record is identified and accessed by specifying the physical location which in other words by specifying the byte address of the first data byte of each record in relationship to the beginning of the dataset.  This method of VSAM helps to maintain records in sequential order. The ESDS cluster has one component viz. data component.

As we have seen before the records in ESDS datasets are accessed by specifying the physical location and so the records in ESDS cluster are stored in the order in which they are entered into the dataset maintaining their physical entry or location. The record is referenced by the relative byte address also termed as RBA. By this method it is not possible delete records but it is possible to add record and the new record added gets appended to the end of last dataset. Records in ESDS cluster may be fixed or variable length. Also accessing of records in ESDS can be done sequentially with the help of RBA value or randomly accessed to the desired record using the RBA value.

Key Sequenced Data Set (KSDS)

The Key Sequenced Data Set is also called as KSDS and is most commonly sued type of VSAM. In this method each record is located and accessed by specifying its key value. Key value is nothing but unique sequence of characters for each record that helps to access the record using this value. The KSDS cluster has two components in it.

• Index component
• Data component

As explained before key filed which is unique and same number of characters fir each record in data component of a KSDS cluster is placed. In the data component the actual records gets stored in logical sequence relative to their key field value. The list of key values for the records in the cluster along with pointers to the corresponding records in the data component is maintained in index component of the KSDS cluster. By pointer maintenance it is possible to reorganize records easily when new records are inserted or when records are deleted and also the records in KSDS cluster may be fixed or variable length. Also accessing of records in KSDS can be done sequentially with the help of key value or randomly accessed to the desired record using the key value.

Linear Data Set (LDS)

The Linear Data Set is also called as LDS and refers to a byte-stream dataset which is used rarely by users.

Relative Record Data Set (RRDS)

The Relative Record Data Set is also called as RRDS and here each record is identified and accessed by specifying the record number which is nothing but the sequence number relative to the first record in the dataset. Unlike ESDS the RRDS type of VSAM helps to access records in random order. The RRDS cluster has one component, the data component.

In contrast to the other two methods like KSDS and ESDS the RRDS supports only fixed length records. The record as specified before is accessed by using the record number which is any number from one to maximum number of records which may be contained in the dataset depending on the record position of slot number.

Both sequential and random Accessing of records in RRDS cluster is possible by using the relative record number of the desired record. In this method both addition of new records to the RRDS cluster is possible which writes the new record in the available empty slot and similarly deleting a record fro RRDS cluster is possible which gives room for empty slot.

From these methods VSAM helps to maintain disk records in a unique format. It is now important to learn where VSAM can be used and where not. VSAM in majority cases, is used in applications. One must clearly note that VSAM does not get applied in JCL or programs. Also it is not possible to edit VSAM files often using ISPF which is an interactive tool used in mainframes, we shall learn about ISPF in later sections of this Mainframe tutorial series.

« « What are Web Servers?
Nature of Communication within NLP » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 394 Followers
  • Popular
  • Recent
  • CICS Overview and Functions

    June 18, 2006 - 0 Comment
  • CICS Components and Transactions

    June 18, 2006 - 0 Comment
  • Introduction to JCL

    November 8, 2006 - 0 Comment
  • Customer Information Control System (CICS)

    July 25, 2006 - 0 Comment
  • Mainframes Computers

    May 27, 2007 - 0 Comment
  • Mainframe Features

    June 17, 2007 - 0 Comment
  • VSAM Catalogs

    June 20, 2007 - 0 Comment
  • VSAM Structure

    June 21, 2007 - 0 Comment
  • VSAM Control Interval and Control Area

    June 23, 2007 - 0 Comment
  • JES : Job Entry Subsystem

    June 26, 2007 - 0 Comment
  • JES : Job Entry Subsystem

    June 26, 2007 - 0 Comment
  • VSAM Control Interval and Control Area

    June 23, 2007 - 0 Comment
  • VSAM Structure

    June 21, 2007 - 0 Comment
  • VSAM Catalogs

    June 20, 2007 - 0 Comment
  • Mainframe Features

    June 17, 2007 - 0 Comment
  • Mainframes Computers

    May 27, 2007 - 0 Comment
  • Introduction to JCL

    November 8, 2006 - 0 Comment
  • Customer Information Control System (CICS)

    July 25, 2006 - 0 Comment
  • CICS Components and Transactions

    June 18, 2006 - 0 Comment
  • CICS Overview and Functions

    June 18, 2006 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • JES : Job Entry Subsystem
  • VSAM Control Interval and Control Area
  • VSAM Structure
  • VSAM Catalogs
  • Mainframe Features

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT