What is sqlcode -922 ?
Answers were Sorted based on User's Feedback
Answer / kanagaraj
Yes correct. In this case plan is exist but your racf
doesn't have privilage to access that plan.
It will be reslove by below command
grant execute planname to PUBLIC
you need to execute this command under creator of the plan
because plan owner have the full access.
| Is This Answer Correct ? | 15 Yes | 2 No |
SET 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.
I have a DB2 table which has 1000 rows.after udatingg first 110 rows, my job abends. Now what I have to do if I want to restart the job next time so that it should start updating from 111th row (without updating first 110 rows again).
can any body explain about plan and pakage in detail....
What is cursor stability?
What is db2 plan table?
What does reorg do in db2?
what is the use of bind parameter, Replace?
What are simple, segmented and partitioned table spaces ?
what will be the output of the below given query, if no matching records are found : (a.) 0 (b.) null (c.) error select Avg(salary) from TableA where Deptno = 'insurance'
wht happens if we close cursor with cursor with hold option?
For update of a row in cursors, when do we move value into host variable in cobol progrm? is it before open or before fetch ?
What is the command used by TSO users to invoke DB2?