View previous topic :: View next topic
|
Author |
Message |
shreejita
New User
Joined: 16 Aug 2009 Posts: 60 Location: chennai
|
|
|
|
Hi all,
How many ALSO and WHEN can be coded in one EVALUATE statement?
Asked in an interview.
As i know 256 ALSO and 63 WHEN r possible but not confirmed.
Regards |
|
Back to top |
|
|
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
|
|
cobol, not db2 |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
COBOL Language Reference - Compiler Limits wrote: |
EVALUATE . . . subjects 64
EVALUATE . . . WHEN clauses 256
|
64 subjects gives use 63 ALSO
and 256 WHEN
This line:
COBOL Language Reference - Compiler Limits wrote: |
Literal THRU . . . or ALSO . . . 256
|
refers to the Special-names paragraph of the Configuration section. |
|
Back to top |
|
|
|