Skip to Main Content
IBM Z Hardware and Operating Systems Ideas Portal


This is the public portal for all IBM Z Hardware and Operating System related offerings. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Workspace z/OS
Categories DFSMS SMS
Created by Guest
Created on Apr 13, 2023

Support SHAREOPTIONS when creating a VSAM with JCL

We are trying to use the JCL DD statement to create some VSAM Data Sets to remove the extra IDCAMS DEFINE steps in some jobs. It is working quite well, especially if we are using the LIKE parameter to get most of the properties from 'model' VSAMs. Currently, SHAREOPTIONS are not copied and there is no options to directly set them in the DD parameters. So, we need to create specific Data Classes to set the right SHAREOPTIONS.

If SHAREOPTIONS could be set with a DD parameter and they would be copied from the existing data set specified in the LIKE parameter, no special Data Classes must be set up and many VSAMS could be created using JCL DD instead of IDCAMS utility.

Idea priority Medium
  • Guest
    Reply
    |
    May 11, 2023

    VSAM created by JCL has a number of downsides especially if you're not using DATACLAS. Many values are defaulted, e.g. SHROPT, REUSE/NOREUSE, CISIZE, FREESPACE, SPEED/RECOVERY which could have undesired effects. You do have the option to automatically assign a DATACLAS to your datasets in the ACS routines so you don't have to code it in the JCL. That can be based on DSN or other variables.

    With LIKE= Unless you explicitly code the SPACE parameter for the new data set, the system determines the space to be allocated for the new data set by adding up the space allocated in the first three extents of the model data set. Therefore, the space allocated for the new data set will generally not match the space that was specified for the model data set. Note that regardless of the units in which the model data set was allocated, the new data set will be allocated in tracks. This assumes that space was not specified on the JCL and is being picked up from the model data set

    Read-only variables not available when LIKE is used. This can be quite crucial for dataset placement, so at least some of these values need to be included in the JCL along with LIKE to ensure they're available to ACS.

    When you use the LIKE parameter on a JCL DD statement or the ALLOCATE command, the following read-only variable values are not available to the ACS routines:

    • &DSNTYPE

    • &DSORG

    • &MAXSIZE

    • &RECORG

    • &SIZE

    Thus, a data set allocated like a second data set might go into in a different storage group than the second data set.