Can we use select * statement in cobol program without
giving field names ???
Answer Posted / vish
Yes we can do it but as a practice people don't use "SELECT
*..." in COBOL program. Possibly the main reason for this
is that if there is any modification to the table in future
(e.g. a column addition) then all such programs needs to be
at least recompiled once even if there is no code changes
into them. This is ensure taht they use latest DCLGEN for
the modified table else the programs will abend for column
mismatch.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is db2 bind process?
What is a bind in db2?
What is the difference between bind and rebind in db2?
What is the role of data manager in the db2 database?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
List out the three types of page locks that can be held.
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
Where do you specify them?
Explain about open switch business continuity software?
Explain db2.
What is database reorganization?
What are types of indexes?
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
What is precompiler in db2?
How can deadlocks be resolved?