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 LE
Created by Guest
Created on Oct 22, 2014

VERSION NUMBER needs to be picked up in the __dyn_t-structure

To be able to use dynalloc() a variable of type __dyn_t needs to be
intialized with dyninit():
The __dyn_t structure must be initialized using
the dyninit() macro defined in dyninit.h to ensure the proper "hidden"
version indicator is used. Improper initialization of the __dyn_t
structure will result in undefined behavior.
(z/OS V1R13.0 XL C/C++ Run-Time Library Reference)

SYS1.CEE.SCEEH.H(DYNIT) contains MACRO dyninit:

int dyninit (__dyn_t * dyn_parms);
/* dyninit() zeros out the __dyn_t structure and places the version*/
/* number of the structure into the byte right after __sysout. */
#define dyninit(__dynp)
(
memset((char *)__dynp,'Ö0',sizeof(__dyn_t)),
*((char *)__dynp+1+(2*sizeof(void *))) = 0x01, 0
)
.
In my COBOL pgm __dyn_t structure was set to NULL but no version number
was entered. After checking the compiler listing,
.
* dyninit(&ip);
LA r1,ip(,r13,320)
ST r1,#STRTEMP1(,r13,524)
XC ip(160,r1,0),ip(r1,0)
LA r1,ip(,r13,329)
MVI (*)uchar(r1,0),1
.
i realized that at offset 329-320=9 of the __dyn_t-structure,
due to the word boundary unused first byte the version number,
x'01' needs to be given. Obviously the first version x'00' has not
supported the Request Block Extension.

Idea priority Medium
  • Guest
    Reply
    |
    Oct 23, 2014

    Creating a new RFE based on Community RFE #60954 in product z/OS.