Oh my ... This is a huge topic, so the answer will be very simplified and therefore incomplete.
, DB/2 -.
, . ,
, .
, :
, , DB/2
.
/ , DB/2,
DB/2.
DBRM ( ). ,
EXEC SQL...END-EXEC DB/2.
COBOL , , , .
DBRM, , SQL
, , DB/2
SQL . DBRM
( PDS),
DB/2 Binder,
SQL DB/2
. DB/2 , COBOL.
DBRM Binder .
, DBRM
-,
DB/2.
? .
- DBRM .
, ,
( ).
DBRM , .
DB/2 ( , ). ?
- DBRM. , , ,
DBRM.
, SQL DBRM,
. . Bind
, , . Bind Cards - " ",
DB/2 Binder ( ).
Bind ,
. Binder, . :
, ,
.
, :
Program -> (Pre-Compiler) -> Modified Program -> (COBOL compiler) -> Object -> (Link) -> Load Module
-> DBRM -> (DB/2 Bind) -> Package
Bind Cards -> (DB/2 Bind) -> DB/2 Plan
Package(s) ->
- ( COBOL) DB/2.
Plan JCL, - EXEC
.
, :
DBRM?
DBRM , SQL EXEC
?
DBRM. 1:1
?
Bind Card.
, .
, ?
DBRM , ,
DBRM. .
, DBRM , .
1:1,
. , , -
Bind Card, .
,
DBRM , .