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

Difference Between Segment Type and Segment Occurence??


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

New User


Joined: 16 Oct 2008
Posts: 39
Location: Chennai

PostPosted: Thu Mar 11, 2010 12:32 pm
Reply with quote

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

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 11, 2010 1:30 pm
Reply with quote

www.dbazine.com/ofinterest/oi-articles/ims1
Back to top
View user's profile Send private message
sundarkudos

New User


Joined: 16 Oct 2008
Posts: 39
Location: Chennai

PostPosted: Fri Mar 12, 2010 10:08 am
Reply with quote

Thanks Peter!

Have any more link?

Thanks,
Sundar.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Mar 12, 2010 10:26 am
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Mar 12, 2010 1:12 pm
Reply with quote

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

New User


Joined: 16 Oct 2008
Posts: 39
Location: Chennai

PostPosted: Fri Mar 12, 2010 3:53 pm
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Mar 12, 2010 4:12 pm
Reply with quote

Glad to hear that! icon_smile.gif

Book, mmm...which is available in local library is usually my pick...icon_biggrin.gif. Though you can pick your choice from here.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 12, 2010 4:34 pm
Reply with quote

Try this one :

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.ims9.doc.pdf/dfsisdg4.pdf?noframes=true
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Sort based on the record type DFSORT/ICETOOL 1
No new posts Pull data using date difference betwe... DB2 6
No new posts Difference between PLT txn and schedu... CICS 3
No new posts SMF record type 30 JCL & VSAM 8
Search our Forums:


Back to Top