Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ALSO and WHEN can be coded in one EVALUATE statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: ALSO and WHEN can be coded in one EVALUATE statement
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    Post subject:
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: 186
Location: chennai

PostPosted: Wed Apr 07, 2010 12:46 am    Post subject: Reply to: ALSO and WHEN can be coded in one EVALUATE stateme
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: 1228
Location: Israel

PostPosted: Wed Apr 07, 2010 5:54 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us