What is sqlcode -922 ?

Answers were Sorted based on User's Feedback



What is sqlcode -922 ?..

Answer / sudha

authorization failure

Is This Answer Correct ?    25 Yes 0 No

What is sqlcode -922 ?..

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

Post New Answer

More DB2 Interview Questions

what are the max. & min. no. of partitions allowed in a partition tablespace?

2 Answers   IBM,


What is a collection in db2?

0 Answers  


What is auditing?

2 Answers  


Name the different types of Table spaces.

5 Answers   IBM,


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.

0 Answers  






What is the format (internal layout) of ?TIMESTAMP??

1 Answers  


What is the use of runstats in db2?

0 Answers  


How is the value function used?

0 Answers  


what is static sql? what is dynamic sql? Give me details

3 Answers  


In cobol+DB2program if the code of cobol program has changed than i have to do precompilation once again?

6 Answers   TCS,


Explain the function of data manager.

0 Answers  


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

4 Answers   Mphasis,


Categories