View previous topic :: View next topic
|
Author |
Message |
krishna_mf
New User
Joined: 31 Jan 2007 Posts: 56 Location: banglore
|
|
|
|
hi,
I am having following doubts.
Do we require DBD for running an IMS DC program?
Can we write IMS DC program without PLITDLI call?
In order to create a database is it sufficient to compile the DBD or any thing extra need to be done?
What does ACCESS= LOGICAL,DATASET LOGICAL mean in a DBD?
can any one clear my queries |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Do we require DBD for running an IMS DC program?
Code: |
If the IMS DC program is a stand alone program with no access (READ/WRITE/UPDATE) to IMS DB then IMS DBD is not required.
If required you can code an IMS DC program to read DB2 table then you dont need DBD.
|
Can we write IMS DC program without PLITDLI call?
Code: |
PLITDLI are API's to access IMS DB or DC, without this you can't do any IMS calls.
However if you have some thing like AIBTDLI then you dont need PLITDLI.
|
In order to create a database is it sufficient to compile the DBD or any thing extra need to be done?
Code: |
After coding the DBD macro, you need to do the DBD GEN (same as compile but the IMS term is DBD GEN). This DBD GEN just creates database definition.
However to use this newly created DBD definition You need to create physical datasets where the database will be stored.
In BATCH you can connect the DBD lib and physical database using logical DD names.
In Online programs a DBA or System Admin has to do the ACB GEN so that the database is available.
To use this newly created Database in a program you need to create PSB.
|
|
|
Back to top |
|
|
|