My DB2 program first read the data from a file and then it
look into a table with the data it got from the file.If we
did not bind the program , should the file read before SQL
execution be success??

Answers were Sorted based on User's Feedback



My DB2 program first read the data from a file and then it look into a table with the data it got ..

Answer / reddy

Program successfully reads the file as the Bind is only for
DB2 queries and it would give an abend(-805) once it
reaches the SQL statement.
Any comments

Is This Answer Correct ?    11 Yes 1 No

My DB2 program first read the data from a file and then it look into a table with the data it got ..

Answer / krishna

No without Bind the program doesn't executes

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More DB2 Interview Questions

Why do we need to create an alias if we can directly use the table name? What are the benefits of referring a table name by its alias? Also, when should we go for alias and when for synonyms?

1 Answers  


How to resolve -504 sql code in DB2?

2 Answers   Cap Gemini,


I want to fetch the 10th row of a table which has been changed.How can I do it without going thru all the rows.

5 Answers  


what is utility for parm lib

0 Answers   IBM,


wt is view ? wht r the restrictions for view ?

3 Answers   Verizon,






Explain the benefits you can get from mainframe connect?

0 Answers  


cobol-db2 runjcl please?

2 Answers   DELL,


can any one give the list of some important sql abend codes which r frequently asked in interviews?

2 Answers  


The only place of VSAM KSDS in DB2 is?

2 Answers   IBM,


Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


What is DCLGEN ?

2 Answers  


Can I use LOCK TABLE on a view?

1 Answers  


Categories