View previous topic :: View next topic
|
Author |
Message |
ujwalavenu Currently Banned New User
Joined: 07 Feb 2006 Posts: 7 Location: Hyderabad
|
|
|
|
Hi,
How to code the below cobol coding in EasyTrieve.
Code: |
IF WS-APPL-TYPE = 'RA' OR 'DS'
DISPLAY 'VALID TYPE'
ELSE
DISPLAY 'INVALID TYPE'
END-IF |
Thanks and Regards. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
U can code like this. It should work
Code: |
IF WS-APPL-TYPE = 'RA' OR WS-APPL-TYPE = 'DS'
DISPLAY 'VALID TYPE'
ELSE
DISPLAY 'INVALID TYPE'
END-IF |
|
|
Back to top |
|
|
ihatesugar Warnings : 1 New User
Joined: 22 Oct 2006 Posts: 43
|
|
|
|
IF WS-APPL-TYPE = 'RA' 'DS'
DISPLAY 'VALID TYPE'
ELSE
DISPLAY 'INVALID TYPE'
END-IF
works the same!!!!1 |
|
Back to top |
|
|
|