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
Workspace COBOL Compilers
Created by Guest
Created on Sep 9, 2021

COBOL Compile option 'NUMCHECK(MSG)' function improvement request

We applied the COBOL Compile option 'NUMCHECK(ZON,MSG)' to prevent 'invalid data' that may occur during program execution.
As a result of testing, we found that there were a lot of programs with 'invalid data' code.
Program developers have the following difficulties in using NUMCHECK.
To solve this, we request functional improvement.

1. Even though it is defined as NUMCHECK(ZON,MSG), a warning message + ABEND 4038 occurs during execution and the CICS Transaction is terminated.
The customer's request is to show only a warning message in MSG option and not to generate ABEND as described in the COBOL manual.
That is, the program is executed like NONUMCHECK, and the developer wants to debug through the additionally provided warning message.

COBOL 6.3 Programming Guide..
> If MSG is in effect, a runtime warning message with the line number, data item name, data item content, and program name is issued.
> If ABD is in effect, a terminating message is issued that causes an abend.

2. If there are several 'invalid data' codes in one program, ABEND occurs in the first one. Therefore, many iterative tests are required to debug the remaining problems.
The customer's request is that the NUMCHECK (MSG) option provides a warning message for all 'invalid data' codes in the program at once.

Idea priority High
  • Guest
    Reply
    |
    Sep 16, 2021

    This item is being tracked via Case TS006801251 and is currently not an RFE. Hence, canceling this RFE.

  • Guest
    Reply
    |
    Sep 13, 2021

    Hi,

    The NUMCHECK(MSG) option must not trigger an abend at the CICS level. With us it works (the messages appear in the CEEMSG output of the CICS).
    The abend can be caused after the NUMCHECK message, if you have not enabled an option to automatically correct numeric data: NUMCHECK only tests, but does not correct the values. It is NUMPROC or other options that make the necessary corrections.

    I suggest also that you examine the language environment option TERMDHACT set at your CICS.
    To do this, use the CLER transaction.
    Depending on the option chosen, this may hide the origin of the U4038 / U4039 abends.
    We use UAONLY to have dump on language environment runtime errors.