when we are tying to update a table having 100 rows. if the program abends when updating 51 row . how to start updating again from the 51 row .what was the logic
TCS,
2 10178I have some 3 particular fields ..i want to know which all tables have those 3 fields. Is there any way to identify.. can we know by quering system tables..
CTS,
5 12040SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.
2722could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..
5 20751If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created and How many Plans and Packages will get created while Bind Process?
8 18465Cursors can be declared in both working-storage & procedure division, Agreed. But is there any difference? If could you please suggest what is the difference. TIA
8 33346
How can you find out the # of rows updated after an update statement?
Which is faster delete or truncate?
What is scrollable cursor in db2?
Why do we use cursor?
What is a storage group (stogroup)?
What is a db2 table?
How to find the number of rows in a db2 table?
How to check table size in db2 sap?
What is null indicator in cobol db2?
What is the difference between using bind () and rebind () methods of naming class?
What is db2 command?
How do you simulate the explain of an embedded sql statement in spufi/qmf?
How to get the ddl of a table in db2?
What is the physical storage length of date data type?
Explain how can you do the explain of a dynamic sql statement?