INCLUDE and regular expression
Posted: Tue Jan 22, 2008 6:29 pm
Hey everybody
I have a little problem with the include statement and the sub strings.
I have a file with DSNs :
TOTO.TITI25678TATA
TOTO.TITI25TATA
TOTO.TITI85TATA
TOTO.TITI659TATA
TUTU.154785
TOTO.TITI59
...
And I need sort it and just include the DSNs which follow that mask : TOTO.TITI*TATA
But it seems DFSORT don't handle the regular expressions or maybe I didn't understand how it works.
It was easy create an include statement like that include cond=(1,44,SS,EQ,C'TOTO.TITI*TATA') but it didn't work...
And as the DSNs have different lengh I don't know how create my mask with the correct include syntax.
Anyone can help me plz ?
Kind regards
I have a little problem with the include statement and the sub strings.
I have a file with DSNs :
TOTO.TITI25678TATA
TOTO.TITI25TATA
TOTO.TITI85TATA
TOTO.TITI659TATA
TUTU.154785
TOTO.TITI59
...
And I need sort it and just include the DSNs which follow that mask : TOTO.TITI*TATA
But it seems DFSORT don't handle the regular expressions or maybe I didn't understand how it works.
It was easy create an include statement like that include cond=(1,44,SS,EQ,C'TOTO.TITI*TATA') but it didn't work...
And as the DSNs have different lengh I don't know how create my mask with the correct include syntax.
Anyone can help me plz ?
Kind regards