Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. 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
Categories C/C++
Created by Guest
Created on Aug 30, 2019

Issue with Occurs clause Variables

We are migrating Micro focus COBOL programs to IBM COBOL for my client(shop direct). We see some initialization errors coming from mx20f program while compiling with IBM COBOL compiler.

Initialization is not possible on occurs clause variables in IBM COBOL. Do you see any option which can solve these compilation errors similar as MF COBOL? Please check and suggest.
LineID Message code Message text
3473 IGYPS2142-E "MX021020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
3484 IGYPS0001-W A blank was missing before character "S" in column 29. A
blank was assumed.
Same message on line: 3563 3633 3713 3781 3863
3931 4015 4084 4166 4237 4319 4390 4460
4542 4622 4690 4772 4841 4925 4994 5076
5147 5229
3554 IGYPS2142-E "MX020020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
Same message on line: 3624 3703 3770 3854 3920
4005 4073 4156 4226 4310 4380 4448 4533
4612 4679 4763 4830 4915 4983 5066 5136
5220
3622 IGYPS2142-E "MX023020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
3704 IGYPS2142-E "MX022020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
3771 IGYPS2142-E "MX031020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
3853 IGYPS2142-E "MX030020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
3921 IGYPS2142-E "MX033020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4006 IGYPS2142-E "MX032020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4074 IGYPS2142-E "MX041020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4157 IGYPS2142-E "MX040020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4227 IGYPS2142-E "MX043020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4309 IGYPS2142-E "MX042020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4381 IGYPS2142-E "MX070020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4450 IGYPS2142-E "MX071020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4531 IGYPS2142-E "MX073020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4613 IGYPS2142-E "MX072020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4680 IGYPS2142-E "MX075020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4762 IGYPS2142-E "MX074020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4831 IGYPS2142-E "MX077020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4916 IGYPS2142-E "MX076020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
4984 IGYPS2142-E "MX079020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.
5067 IGYPS2142-E "MX078020-DETAIL" was found in an "INITIALIZE" statement
but was variable-length or variably located. The operand
was discarded from the "INITIALIZE" statement.

Idea priority Urgent
  • Guest
    Reply
    |
    Jan 6, 2020

    The workaround has been accepted by the submitter.

  • Guest
    Reply
    |
    Oct 15, 2019

    This is a COBOL RFE (rather than a C++ RFE). A current workaround has been provided for the COBOL scenario.

  • Guest
    Reply
    |
    Aug 30, 2019

    Attachment (Use case): compilation errors

  • Guest
    Reply
    |
    Aug 30, 2019

    Attachment (Description): Program for your reference