In DB2, some concepts confuse to many people. I want to explain those:
BIND
https://srinimf.com/2021/07/31/db2-understand-the-real-use-of-package/
BIND is a command you can use to create package using DBRMs.
https://srinimf.com/2014/03/14/db2-optimization-hints/
Binding a single DBRM is called bind package. However after bind package we need to bind with a PLAN.
PLAN
PLAN is a command to create a PLAN on Bind package. PLAN is a executable code. Without PLAN you cannot execute DB2 programs in mainframe.
https://srinimf.com/2014/07/21/db2-5-frequently-asked-questions/
Plan package
Binding single or multiple DBRMs into a Plan. Practically in real-time we do Plan bind. Bind package has some benefits. We can give separate Bind options for each Bind package.
Rebind
This is we do for existing components to update optimum access paths.
Free
We use free command to Free plan or Package.
We all know that Bind does DB2 syntax check and provide optimum access paths.
-
30 SQL Practice Queries with Solutions — Run Them Live
Practice 30 SQL queries with solutions, from SELECT and JOINs to subqueries and window functions. Run SQL queries live in an interactive SQL Playground.
-
Supercharge Your Database Skills: Try Our New Interactive SQL Plugin!
Struggling with database queries? Explore our new interactive SQL plugin to write, test, and master SQL directly in your browser. Try the live demo now!
