to find more than one string which is in different positions
Posted: Sat Oct 30, 2010 12:55 am
Is it possible to use AND ,OR,XOR,NOR operations to search strings in a rexx commmand ?
Eg:
input:
03 123 NAME1 ADDR1
16 144 NAME2 ADDR2
02 123 NAME1 ADDR2
Required output :
03 123 NAME1 ADDR1
02 123 NAME1 ADDR1
in general we give as F '12365' (position)
All I wanted is, when I give F'123' (position1) 'name1' (position2) then I must get then desired output
Eg:
input:
03 123 NAME1 ADDR1
16 144 NAME2 ADDR2
02 123 NAME1 ADDR2
Required output :
03 123 NAME1 ADDR1
02 123 NAME1 ADDR1
in general we give as F '12365' (position)
All I wanted is, when I give F'123' (position1) 'name1' (position2) then I must get then desired output