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 Planned for future release
Workspace COBOL Compilers
Categories z/OS
Created by Guest
Created on Jun 29, 2022

REGEX Function like in PL/I

Hi IBM, you've delivered the REGEX function in PL/I for the use of regular expressions in string searches. This would be nice in Cobol as intrinsic function too. Regards, Michael

Idea priority Low
  • Admin
    Basil Kanneth
    Reply
    |
    Mar 1, 2024

    This Idea has been put into plan and will be updated once delivered.

  • Admin
    Basil Kanneth
    Reply
    |
    Oct 20, 2022

    Thanks Michael. This RFE is being accepted and will be updated once put into plan.

  • Guest
    Reply
    |
    Oct 17, 2022

    Hi Basil,

    my users don't have any other idea. So let's try it like in PL/I.

    :)

    Regards Michael

  • Admin
    Basil Kanneth
    Reply
    |
    Oct 12, 2022

    Hi Michael, did you happened to hear back from your users? Thanks

  • Guest
    Reply
    |
    Oct 4, 2022

    Hi Basil,

    I will discuss with our users. When I said "like in PL/I" this was not meant literally but if the PL/I users are fine with the implementation it can't be that bad ;-)

  • Admin
    Basil Kanneth
    Reply
    |
    Sep 29, 2022

    Hi Michael,

    We are thinking of implementing the REGEX function similar to what is outline in the PL/I doc here:
    https://www.ibm.com/docs/en/epfz/6.1?topic=subroutines-regex

    Would this be acceptable?

  • Guest
    Reply
    |
    Sep 27, 2022

    Hi,

    For your information, I attach a COBOL programme using REGCOMP and REGEX (call to C routines).

  • Guest
    Reply
    |
    Sep 26, 2022

    Hi Basil,

    need it for literals and for pic X variables. (sorry if I mix up the term literal and variable)


    I don't know the PL/I regex (if there are differences e.g. to Perl or bash). I'm only aware about Perl regex. I think you can do this, like to think it's best.

  • Admin
    Basil Kanneth
    Reply
    |
    Sep 6, 2022

    Can you please provide an example of how you intend to use this functionality? Do you want to use it just for literals? Also, do you want to match the PL/I REGEX? Thanks.

  • Guest
    Reply
    |
    Aug 4, 2022

    Tada

  • Admin
    Basil Kanneth
    Reply
    |
    Aug 3, 2022

    This Idea is being assessed further and needs more time.

  • Guest
    Reply
    |
    Jun 29, 2022

    Good idea.

    It would solve a long term problem and would be a big step in direction of Cobol modernization.