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

EVALUATE


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
No new posts Evaluate statement, when-clause in co... COBOL Programming 10
No new posts Generate report with out using IF/EVA... COBOL Programming 25
This topic is locked: you cannot edit posts or make replies. Want to put in a loop in EVALUATE COBOL Programming 24
No new posts Evaluate statement - clarification COBOL Programming 2
Search our Forums:

Back to Top