why should we bind the DB2 program . What if we did not
BIND a BD2 program ??
Answer Posted / harish
ACTUALLY BIND PLAN CONSISTS OF DBRM SO IN DB2 WE NEED TO
CREATE UNIQUE PLAN NAME TO GET EXECTABLE LOAD MODULE AND
DURING RUN PROG WE NEED TO GIVE PLANNAME AND MODIFIED
SOURCE LIB .
IF WE DIDNOT BIND WE WILL GET -805 ERROR I,E PROG NAME OR
DBRM NOT FOUND IN PLAN
SUPPOSE IF YOU MADE ANY CHANGES IN ANY PROGRAM THEN COMPILE
AND BIND PACKAGE ,BIND PLAN .SUPPOSE IF U DONE EVERYTING
AND FORGOT TO BIND IN THAT CASE YOU WILL GET -818 ERROR I,E
TIMESTAMP ERROR...
pls let me know if u have any queries
HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is the difference between oracle and db2?
What are the 2 sqlcodes that are returned?
What are catalog tables in db2?
What is buffer pool?
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.
What is db2 look?
Can you use max on a char column?
What are union and union all?
what are bind concepts in db2 cobol?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What parameters are used to control the free space in DB2?
Define data page.
What is the connection string to connect to the DB2 Database ?
How do I connect my db2 database to ibm?