Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DFSORT/ICETOOL :: RE: Syntax to check the first 4 digits of a number.

$
0
0
Author: enrico-sorichetti
Subject: Reply to: Syntax to check the first 4 digits of a number.
Posted: Tue May 03, 2016 2:25 pm (GMT 5.5)

quick and dirty ( just to show the logic )

Code:
    INCLUDE COND=(7,9,CH,EQ,C'000009954',OR,
                  7,8,CH,EQ,C'00009954',OR, 
                  7,7,CH,EQ,C'0009954',OR,
                  7,6,CH,EQ,C'009954',OR,
                  7,5,CH,EQ,C'09954',OR,
                  7,4,CH,EQ,C'9954',OR,
                  ...           
 

_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif


Viewing all articles
Browse latest Browse all 9405

Trending Articles