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 does a deadlock mean in DB2?
What is null indicator in db2?
What is dclgen (declaration generator)?
What are union and union all?
What is db2 bind?
What is null in db2?
What do you mean by between and in? Is between inclusive of specified range values?
What is temporal table in db2?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
What is image copy in db2?
What are db2 objects?
What are the prerogatives?
How connect db2 database to datastage?
What does db2 mean?
What type of database is db2?