pls explain the precompilation process of cobol-db2 pgm

Answer Posted / tej

Precompilation separates the SQL statements and non-SQL
statements of an application program.
From the precompilation step onwards the original source
code will be contained in two separate physical components.
The non-sql part of the program will have all the
sql-statements commented out by the precompiler and and
replaced with cobol call statements.
The colection of SQL that was extracted will be placed in a
DBRM(Database Request Module).Precompiler also places a
consitency token in both of its outputs.

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I add a column to a table in db2?

618


What is a plan and package in db2?

623


What is isolation level in db2?

577


What is plan in cobol db2?

595


Which component is used to execute the sql statements?

619






What is a db2 schema?

762


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

630


Define data page.

634


What is db2 connect?

607


How many databases are there?

590


Why do we use cursor?

599


what is db2 restart?

1691


What are the 2 sqlcodes that are returned?

641


what is a corelated subquerry?

658


What is the use of dclgen in db2?

588