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 Not under consideration
Workspace z/OS
Categories DFSMS OCEOV
Created by Guest
Created on Mar 26, 2017

OPEN/CLOSE macro execute form last bit indicator

The Execute form of the OPEN and CLOSE macros do not set the last entry indicator in the option flag byte on the OPEN/CLOSE parameter list. When writing reentrant code this requires the programmer to set it explicitly by copying the list form or setting the bit. All other bits and fields are set in the parameter list by the execute form.

Looking into the macro it would certainly appear that the setting of the final bit was intended to be done by the programmer.
.DC1 AIF (&MFESW).ERTRTRN Go to resume execute form
.* Continue the list or standard form. @L3A
AIF (&CTR1 LT &NUMBER).K Go if not last option
.J ANOP Handle last option for list, execute or standard
&ASUM SETA &ASUM+128 Set "last option" flag
.K AIF (&MFI2SW).I2ROUT Go if instruc. for standard form
AIF (&MFISW).IROUTRN Go if list for standard form

.DC1 is where the macro returns to the execute processing after obtaining the option information for which the macro uses the same code as the list processing. Note however the comment on the .J statement. "Handle last option for list, execute or standard" which would imply that this is supposed to be executed for the execute form, and if it were then the last entry indicator would be set by the addition of 128 to &ASUM.

Idea priority Low
  • Guest
    Reply
    |
    Jun 17, 2022
    Incompatible if there is a difference between the number of DCBs for the execute and list form of the OPEN/CLOSE macros