What does this mean ?
GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;

Answers were Sorted based on User's Feedback



What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;..

Answer / guest

Granting BIND gives BIND authority on the Plan MK2 to all
users.
BIND PLAN establishes the relationship between DB2 and all
DBRMs or packages in that plan.

BIND(ADD) can be used for creating a new plan or package.
BIND(REPLACE) can be used when the program has been changed.

With this authority, any user is able to bind a DBRM or a
package to the plan MK2. The users can rebind the Plan as
well.

The Bind process performs the following :
1) Checks SQL syntax.
2) Checks security.
3) Compares column and table names against the DB2 Catalog.
4) Builds an access path strategy for each SQL statement.

Granting EXECUTE to PUBLIC gives all users, the authority
to EXECUTE the plan MK2.

Regards,
Amit

Is This Answer Correct ?    7 Yes 0 No

What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;..

Answer / guest

BIND gives the authority to bind, rebind and free the plan
MK2 by anyone(PUBLIC)

EXECUTE gives the authority to run the programs that uses
the plan MK2.

Is This Answer Correct ?    0 Yes 1 No

What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;..

Answer / shilpa

this is data control language these work will done by data
base administrator. if the dba gives the permission then
only we can use tables and other components otherwise we
can do any operation.

Is This Answer Correct ?    0 Yes 2 No

What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;..

Answer / ravi

This is basically -922 error, Authorization failure, so
admin will grant permission to bind the plan or dbrm

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More DB2 Interview Questions

When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

0 Answers   Broadridge,


What is JOIN and different types of JOIN.

2 Answers   IBM,


What is the error code -803 ?

3 Answers  


What is explain in db2?

0 Answers  


How to resolve deadlock issue

5 Answers   IBM,






could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..

5 Answers  


Explain the function of data manager.

0 Answers  


What is ibm db2 client?

0 Answers  


What is the difference between dbm cfg and db cfg file in db2 ?

0 Answers   MCN Solutions,


Is it Possible to declare or create a cursor for UPDATE of table? If yes tell me how? If no Tell me why?

1 Answers   IBM, scintel,


COBOL PRECOMPILER ERROR: "XXXXXX" (TABLE) PREVIOUSLY DECLARED OR REFERENCED DCLGEN VARIABLES GETS IMPORTED TWICE FOR ONLY ONE EXEC SQL STATEMENT. WHAT COULD BE THE PROBLEM?

1 Answers  


Can there be more than one cursor open for any program?

0 Answers  


Categories