What is the use of DELGEN in DB2? Can we Write the program
with out using it?
Answer Posted / deepak gairola
DCLGEN(Declaration Genrator) is used to generate DB2
equivalent Cobol Datatypes. We can write a cobol Db2
program without using it but we will have to declare cobol
variables in our Program and for sure it need to be DB2
Equivalent... but it is preffered to use DCLgen as it gives
you the accurate... equivalent... of db2 datatype...and it
enhances the performance no doubt...
For Sql Datatype is Name Varchar(20).
so cobol equivalent is
01 Name.
49 Name-len PIC s9(04) comp.
49 Name-text pic x(2).
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the difference between dbm cfg and db cfg file in db2 ?
What is meant by explain?
What do you mean by rollback?
What are db2 tables?
What action db2 takes when a program aborts in the middle of a transaction?
How do you stop a db2 database in linux?
What is the picture clause of null indicator variable?
What is the role of union all and union
What is the result of open cursor statement?
What is the maximum size of a char data type in db2?
Can we update view in db2?
How do I optimize a query in db2?
What does db2 mean?
What does a deadlock mean in DB2?
What is the use of with ur in db2?