IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ALSO and WHEN can be coded in one EVALUATE statement


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shreejita

New User


Joined: 16 Aug 2009
Posts: 60
Location: chennai

PostPosted: Tue Apr 06, 2010 1:54 pm
Reply with quote

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
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Tue Apr 06, 2010 2:17 pm
Reply with quote

cobol, not db2
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Wed Apr 07, 2010 12:46 am
Reply with quote

Hi

256 ALSO
256 WHEN
and 64 EVALUATE subjects


Refer COBOL Language Reference - Compiler Limits.

Regards
Raghu
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Apr 07, 2010 5:54 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts Can EATTR be coded in an IMS COBOL pgm? IMS DB/DC 1
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
Search our Forums:

Back to Top