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

quary for 1> fetch last record 2> fetch in reverse order 3> fetch last 5 row 4> fetch second last record (their is no primary key) i think concept of count can be use for this in 4th

5 Answers  


1. what if null values retrived from database and no null indicator mentioned in query. What is sql code.

1 Answers   Cap Gemini,


What is an access path?

3 Answers  


When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing?

2 Answers  


How do you eliminate duplicate values in db2?

0 Answers  






what happend with out using Commit,when closing cursor and program?

5 Answers   CSC,


What is RUNSTATS?

3 Answers  


how many bytes timestamp token occupies?

6 Answers   Boss Global, Cap Gemini, TCS,


What is the difference between TYPE 1 index & TYPE 2 index

1 Answers   IBM,


Explain packages.

0 Answers  


cobol-db2 runjcl please?

2 Answers   DELL,


Is it possible to create an Instance in DB2 using DB2 Control Center ?

0 Answers   MCN Solutions,


Categories