|
View previous topic :: View next topic
|
| Author |
Message |
sundarkudos
New User
Joined: 16 Oct 2008 Posts: 39 Location: Chennai
|
|
|
|
Hi,
I'm new to IMS.I have listed below few basic questions for which i cant find the clear answers explained with example.
1) How the records are stored in hierarchical database?Explain with 1 or 2 records.
2) What is segment type and segment occurence? Relate with a record and explain.
It would be gr8 if some one explain with real time examples.
Thanks,
Sundar. |
|
| Back to top |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
| Back to top |
|
 |
sundarkudos
New User
Joined: 16 Oct 2008 Posts: 39 Location: Chennai
|
|
|
|
Thanks Peter!
Have any more link?
Thanks,
Sundar. |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
At the top of the IMS DB/DC part of the forum there are several "Sticky"s that contain much of what you are looking for. |
|
| Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
| sundarkudos wrote: |
| 1) How the records are stored in hierarchical database?Explain with 1 or 2 records. |
As an application programmer, and to start with, you must not be botherd about what is happening "under the covers" - i.e. how the data is stored (ofcourse that's a VSAM and acees-methods will do their work correctly to get you the data). Instead, you should know how the data base is designed. Probably, you can consider it as a structure of a family - parents, then children (this is explained in the link Peter has directed to).
Rule of Thumb for IMS is it works down the hierarchy and then left-to-right.
| Quote: |
| 2) What is segment type and segment occurence? Relate with a record and explain. |
What book are you reading? If you've IMS for the COBOL Programmer Part 1: DL/I Database Programming by Steve Eckols, that explains your 2nd question on nearly after every second-para of First chapter. |
|
| Back to top |
|
 |
sundarkudos
New User
Joined: 16 Oct 2008 Posts: 39 Location: Chennai
|
|
|
|
I got the difference!!!!!!
Thanks Peter, Dick, Anuj.
Need one more help.
I gonna work in PL/I - IMS DB/DC.
Plz let me know any good books available in the market.
Thanks,
Sundar. |
|
| Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Glad to hear that!
Book, mmm...which is available in local library is usually my pick... . Though you can pick your choice from here. |
|
| Back to top |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
| Back to top |
|
 |
|
|