wht steps we need will coding cobol and db2 pgm ?

Answers were Sorted based on User's Feedback



wht steps we need will coding cobol and db2 pgm ?..

Answer / ankitha

when you start coding any DB2 pgms you should include SQLCA
and DCLGEN member in w-s section and perform activities of
coding which need to be processed in procedure division.
all statements should be scoped in EXEC SQL and END-EXEC scope
only and you should precompile, create package and plan, you
should run this pgm by using plan. these are the steps we
follow these days.
i this this will help you

Is This Answer Correct ?    10 Yes 0 No

wht steps we need will coding cobol and db2 pgm ?..

Answer / yuvaevergreen

step1>>put all the sql statements in cobol program inside
exec sql and end-exec.Because precompiler identifies using
sql using these keywords.
step2>>all sql statements should be within 12th and 72th
column in program.
step3>>Include the dclgen if created or use the host
variable declaration name and sqlca.
step4>>precompile,compile,bind,linkedit and execute.

Is This Answer Correct ?    1 Yes 0 No

wht steps we need will coding cobol and db2 pgm ?..

Answer / naren

Pre-Compile
BIND
Run JCL

Is This Answer Correct ?    1 Yes 0 No

wht steps we need will coding cobol and db2 pgm ?..

Answer / jujubi

when you start coding any DB2 pgms you should include SQLCA
and DCLGEN member in w-s section and perform activities of
coding which need to be processed in procedure division.
all statements should be scoped in EXEC SQL and END-EXEC
scope
only and you should precompile, create package and plan, you
should run this pgm by using plan. these are the steps we
follow these days.

Is This Answer Correct ?    0 Yes 0 No

wht steps we need will coding cobol and db2 pgm ?..

Answer / lu

your question is not clear.....

Is This Answer Correct ?    1 Yes 2 No

wht steps we need will coding cobol and db2 pgm ?..

Answer / niveditha

This question does not make any sense. please explain correctly

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More DB2 Interview Questions

What is ibm db2 client?

0 Answers  


how many partitions are possible in partitioned tablespace? dont say 1-64. a)240 b)256 c)512 d)none

8 Answers   Amdocs, HeadStrong,


Suppose if I need to update a column, how you do that using cursor?

2 Answers   Verizon,


What is a correlated sub query?

2 Answers  


Is db2 a mainframe database?

0 Answers  






What is DCLGEN ?

3 Answers  


What are the different types of base tables?

0 Answers  


What is a subselect? Is it different from a nested select?

1 Answers  


Is db2 free?

0 Answers  


What is UNION,UNION ALL?

2 Answers  


How do I create a table MANAGER (EMP-NO, MANAGER) where MANAGER is a foreign key which references to EMP-NO in the same table? Give the exact DDL.

3 Answers  


What is the role of the data page in the db2 database?

0 Answers  


Categories