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 an instance database?
How to view db2 table structure?
How do I delete a table in db2?
What is the maximum size of varchar data type in db2?
What is view db2?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
What is universal database?
Is db2 a mainframe?
What is package in db2 mainframe?
Is db2 a database?
What is innodb buffer pool?
What's The Percentage Free Space ?
What is the role of data manager in the db2 database?
What is the purpose of using commit?
What are the rules for db2 programming?