View previous topic :: View next topic
|
Author |
Message |
deepak.kec
New User
Joined: 26 Feb 2007 Posts: 71 Location: bangalore
|
|
|
|
How WHEN condition is used with OR condition |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
As in EVALUATE? It isn't. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Deepak,
There is no need to put OR condition in when clause
EX
Code: |
EVALUATE POLICY-CLASS
WHEN '81'
WHEN '83'
PERFORM PARAA
WHEN 'E1'
WHEN 'E3'
PERFORM PARAB
WHEN 'M2'
WHEN 'M3'
PERFORM PARAC
WHEN OTHER
PERFORM PARAD
END-EVALUATE |
In the above code if policy class is 81 or 83 it will execute PARAA
If it is E1 or E3 then it will execute PARAB if it is M2 or M3 then it will execute PARAC otherwise for rest of the classes it will execute PARAD
Hope it's answered ur question. |
|
Back to top |
|
|
|