how can u nderstand the sql stmts executed successfully or not ?
Answer / lu
Oh man, you have to check SQLCODE for each SQL
stament...SQLCODE = 0 it's good.... SQLCODE not = 0 it's
bad.
OR you look in SQLCA... verify this SQLERRD
Is This Answer Correct ? | 5 Yes | 0 No |
i know the stpes 2 create an executable CICS/DB2 cobol code. 1. DB2 Precompiler converts the SQL Statements into COBOL API statements and creates another member with Acess plans. CodeA results in CodeB (code with API calls) & CodeC ( Access Plans ) 2.Code B is compiled/linked 2 create an exceutable.(codeE) 3.Now CodeC is binded to the database on which CodeE will be run. Can somebody provide me the sample JCLs for precompile/compile/link/bind.
How to fetch the uncommited data from table ?
what is load and unload in db2
What is a Foreign Key?
0 Answers Tavant Technologies, Zensar,
Is the primary key a clustered index?
What is clone table?
can any one give the list of some important sql abend codes which r frequently asked in interviews?
how will you retrieve first record in table
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..
I want to fetch the 10th row of a table which has been changed.How can I do it without going thru all the rows.
What is -904 sql code? How to resolve it?