Sie sind auf Seite 1von 6

MAINFRAMES

DB2 – IBM Data Base


NAGARAJU DOMALA
DB2

“ DB2-Program Preparation“

Session 9

Nagaraju Domala
Session 9 - Objectives

On completion of this session the learner will be able to:

 Explain Pre-compilation process


 Explain DBRM, Package, Plan and Bind process
 Analyze Bind parameters in a sample JCL

Nagaraju Domala
PRE-COMPILATION
PROCESS
SOURCE PRE
PROGRAM COMPILER

MODIFIEDSO
DBRM BIND URCE
PACKAGE
COMPILER
BIND PLAN PACKAGE

COMPILEDSO
URCE
PLAN
LINKAGE
EDITOR

DB2 DB2 DIRECTORY LOAD


CATALOG MODULE

Nagaraju Domala
DBRM, PACKAGE & PLAN

 DBRM: It contains SQL statements extracted from a source


program by the pre-compiler. It is stored as a member of
Partitioned data set.
 PACKAGE: Single bound DBRM with optimized access paths.
 Plan: Plan is an executable module containing the access
path logic produced by DB2 optimizer.
 COLLECTION ID: A collection is a user defined name from 1
to 128 characters that the programmer must specify for
every package.

Nagaraju Domala
BIND PARAMETERS

 ISOATION
 ACQUIRE
 RELEASE
 VALIDATE
 ACTION (ADD/REPLACE)
 FLAG(I)

Note: Refer to work book for more info for the above topics.

Nagaraju Domala

Das könnte Ihnen auch gefallen