| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
sivatechdrive
Joined: 17 Oct 2004
Posts: 168
Location: hyderabad
|
| Posted: Thu Nov 11, 2004 4:36 pm Post subject: How can we add a field through a program in IMSDB |
|
|
i was asked how can we add a field through a program
in IMSDB in IBM interview
2> How do u enforce referential Integrity constaint(RI) in IMSDB
Thanks
Siva |
|
| Back to top |
|
NILESHK2302
Joined: 13 Feb 2004
Posts: 14
Location: hyd
|
| Posted: Fri Mar 04, 2005 6:31 am Post subject: Question of IBM |
|
|
for the first question ...........there is nothing like a field addition in IMS DB.....what ever we add are segments through program in IMS DB.......i am not sure if the interviewer know IMS or you have wrongly took the question........
for secong question .............referential intergrity terms are related to relational database management systems like DB2.........there will not be any such instance in IMS as IMS is a hierarchial database management system........probably the question is wrongly taken by you or the interviewer himself is in confused state when he asked this question..... |
|
| Back to top |
|
harinadh
Joined: 01 Sep 2004
Posts: 18
|
| Posted: Tue Apr 05, 2005 2:59 pm Post subject: Re: add a field |
|
|
Hi,
I think referential integrity means the concept of Logical databases in IMS.
I am not sure. Mostly this is the answer. |
|
| Back to top |
|
Great Indian
Joined: 05 Apr 2005
Posts: 9
|
| Posted: Tue Apr 05, 2005 6:18 pm Post subject: |
|
|
Nilu is correct.
Here is the of information regarding your questions:
First:
There is no field adding in ims db.
Segment is the smallest unit of information that a DLI transfers between IMS Buffer Pool and application program....filelds are defined in Segment....and there is no question of adding fields in ims database
(Segment type is simply a catagory of data which contains characteristics of segment...this is formed with collection of fields)
Second:
Since referencial integrity is established between two or more tables in Relational database(this relation is made physically)
where as in IMS DB there will not be any physical relation ship between two databases...only logical relation ship exists that is through PSB(Program Specification Block)
I think this is clear....if not let me know. |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|