IBM Z and LinuxONE Software

Software

Software

In order to compete you have to be trusted. System software delivers high-performing system and database management, faster insights, secure cloud and agile DevOps, plus the reliability, flexibility and protection you expect from the mainframe.

 View Only

Regular Expression - Z/OS DFSORT V3R1

  • 1.  Regular Expression - Z/OS DFSORT V3R1

    Posted 2 days ago

    Hi,

    I am using the following regular expression to extract records that contain a "+nnnnnn" - a plus sign followed by 6 numbers:

    INCLUDE COND=(26,72,SS,RE,C'(\+)[0-9]{6}')
    OPTION  COPY

    But it does not seem to work - in using the same expression in an ISPF find command works: f RC'(\+)[0-9]{6}'

    VIEW       DVPNV.#RISK.PROD.VLISTBT(QSOSWP00) - 01.00      Columns 00062 00133
    Command ===>                                                  Scroll ===> CSR
    =COLS> ---+----7----+----8----+----9----+----0----+----1----+----2----+----3---
    000627                                                 000000000 4C
    000628 C S9(6) COMP VALUE +206601.
    000629 C S9(6) COMP VALUE +300000.                     000000004 4C
    000630 C S9(6) COMP VALUE +300001.                     000000008 4C
    000631 C S9(6) COMP VALUE +300002.                     00000000C 4C
    000632 C S9(6) COMP VALUE +300003.                     000000010 4C
    000633 C S9(6) COMP VALUE +300004.                     000000014 4C
    000634 C S9(6) COMP VALUE +300005.                     000000018 4C
    000635 C S9(6) COMP VALUE +300006.                     00000001C 4C
    000636 C S9(6) COMP VALUE +300007.                     000000020 4C
    000637 C S9(6) COMP VALUE +300009.                     000000024 4C
    000638 C S9(6) COMP VALUE +300010.                     000000028 4C



    ------------------------------
    Girish Sajja
    ------------------------------