Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Difference between DECIDE ON & DECIDE FOR?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
Madhanlal
Warnings : 1

New User


Joined: 21 Apr 2007
Posts: 12
Location: Chennai

PostPosted: Wed Nov 12, 2008 12:48 pm    Post subject: Difference between DECIDE ON & DECIDE FOR?
Reply with quote

Can any one tell me the difference between the two statements?

DECIDE ON

DECIDE FOR
Back to top
View user's profile Send private message
References
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2039
Location: Israel

PostPosted: Wed Nov 12, 2008 1:52 pm    Post subject:
Reply with quote

Although clearly described in the fine manual, I'll try to summarize it for you:
- DECIDE ON is used to perform actions based on value(s) of variable(s)
- DECIDE FOR is used to perform actions based on multiple conditions (like classical CASE).

O.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1