wht r the requirements for writing a cobol-db2 pgm ?

Answer Posted / ajay kumar ande

3 steps..........

1.)pre-compilation
2.)bind
3.)run

1.PRECOMPLATION
// jobcard job......
// act01 exec pgm=dsnhpc
// DBRMLIB DD DSN=

// act01 exec pgm=IGYCRCTL
// SYSLOAD DD DSN=&&TEMP,DISP=PASS

// act01 exec pgm=IEWL
// SYSLMOD DD DSN=&&TEMP,DISP=OLD

BIND
// act01 exec pgm=IKJEFT01
// DBRMLIB DD DSN=
SYSIN DD *
BIND PLAN( ) MEM( ) ISOLATION(CS) ACTION(REP)

RUN
// act01 exec pgm=IKJEFT01
SYSIN DD *
RUN PROG( ) PLAN( ) LOADLIB( )

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1716


Why do we need reorg in db2?

566


What does runstats do in db2?

607


Discuss about db2 bind?

674


Outputs of explain are with matchcols = 0. What does this signify?

619






Give a brief description of db2 isolation levels?

605


What is meant by union and union all?

590


How to access db2 tables in mainframe?

615


What do you mean by commit and rollback?

597


What's The Percentage Free Space ?

775


Can one database have multiple instances?

583


What is difference between rollback and commit?

635


Is it possible using max on a char column?

610


What is the use of with ur in db2?

617


Can we insert update delete in view?

579