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).
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:
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 an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
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.
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 |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
Creating a new RFE based on Community RFE #60954 in product z/OS.