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 difference between rollback and commit?
How can you count the number of rows from a table tab?
What is cursor with hold option in db2?
What is database alias db2?
What is null value in db2?
Why do chiropractors use drop table?
What are db2 tables?
Why select is not preferred in embedded sql programs?
What are the various data types available in db2?
What is reorg and runstats in db2?
Is ibm db2 free?
What is a db2 table?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
Mention the definition of cobol in varchar field.
what are bind concepts in db2 cobol?