Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


SQLCA

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING
  View previous topic :: View next topic  
Author Message
ibmlearner
Member


Joined: 02 Dec 2006
Posts: 13

PostPosted: Thu Mar 08, 2007 7:51 pm    Post subject: SQLCA Reply with quote

HI ALL !!!!!!!


HOW TO SEE THE UPDATED MESSAGES IN SQLERRD (SQLCA).

WHETHER THE ROW INSERTED OR DELETED SUCCESSFULLY ????

TIA.
_________________
Thanks & Regards
-------------------------
Learner
Back to top
View user's profile Send private message Send e-mail

Veera
Moderator


Joined: 22 Feb 2006
Posts: 111

PostPosted: Fri Mar 09, 2007 11:52 pm    Post subject: Reply with quote

under SQL = 0 , I mean when the Query is executed succesfully you
can display or move into other working storage varaible the values of the varaible of SQLCA like SQLERRD(3) and othes too.
I dont have DB2 to run a quick test ..let us know if it doesn work.

Thanks
Veera
Back to top
View user's profile Send private message
Sheela
Member


Joined: 26 Feb 2007
Posts: 14
Location: Chennai

PostPosted: Sat Mar 10, 2007 7:03 am    Post subject: DB2 - SQLCA SQLERRD Reply with quote

Hi ibmlearner,

i dont know about messages, but SQLERRD(3) contains number of
records updated/deleted by the sql. If it contains 2, which means , 2 records updated/deleted by the sql.
_________________
Regards,
Sheela
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts CICS tables to be updated. 1 Krishna 643 Sun Jul 19, 2009 9:27 pm
Krishna View latest post
No new posts Help needed regarding the query? 3 ssameerahmed 907 Wed Jun 24, 2009 12:40 pm
Natarajan View latest post
No new posts # of rows updated after an update statement? 1 Krishna 873 Sun Mar 29, 2009 10:47 pm
Krishna View latest post
No new posts How do you select a row using indexes in DB2? 1 Krishna 1151 Sun Mar 29, 2009 9:41 pm
Krishna View latest post
No new posts SINGLE ROW 2 ibmlearner 2205 Sat Mar 10, 2007 7:06 am
Sheela View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB