IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Queries in IMS DC and in DBD


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Thu Feb 08, 2007 11:09 am
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Feb 08, 2007 12:06 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Index related queries DB2 5
No new posts Need help with below queries DB2 3
No new posts Running queries against OLTP Database DB2 3
No new posts Selective execution of a queries DB2 9
No new posts Re-write queries to minimize the effe... DB2 6
Search our Forums:

Back to Top