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
 

 

EVALUATE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
maheshkg

New User


Joined: 23 Feb 2006
Posts: 3

PostPosted: Thu Feb 23, 2006 10:41 pm    Post subject: EVALUATE
Reply with quote

I EXECUTED A SQL STATEMENT THEN CHECKED SQLCODE

EVALUATE SQLCODE
WHEN 0
WHEN 100
PERFORM XYZ-PARA
WHEN OTHER
PERFORM ERROR-PARA
END-EVALUATE.

What will happen if SQLCODE is 0???

Please help.

Mahesh
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Feb 23, 2006 11:38 pm    Post subject: Re: EVALUATE
Reply with quote

Paragraph XYZ-PARA will be executed if SQLCODE is 0 or 100

Link to EXECUTING EVALUATE Statement

Dave,
Back to top
View user's profile Send private message
maheshkg

New User


Joined: 23 Feb 2006
Posts: 3

PostPosted: Fri Feb 24, 2006 12:41 am    Post subject:
Reply with quote

thanks dave
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Evaluate statement, when-clause in co... UmeySan COBOL Programming 10 Mon Jul 16, 2012 6:49 pm
No new posts Generate report with out using IF/EVA... bbharathiraj COBOL Programming 25 Tue May 22, 2012 10:19 am
This topic is locked: you cannot edit posts or make replies. Want to put in a loop in EVALUATE maxsubrat COBOL Programming 24 Fri Apr 06, 2012 3:35 pm
No new posts Evaluate statement - clarification Vijay Subramaniyan COBOL Programming 2 Fri Feb 03, 2012 1:53 pm
No new posts Evaluate true also true Bill Woodger COBOL Programming 6 Thu Aug 11, 2011 7:43 pm


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