Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference Between Segment Type and Segment Occurence??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Difference Between Segment Type and Segment Occurence??
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: 2422
Location: Netherlands, Amstelveen

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

http://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    Post subject: Reply to: Difference Between Segment Type and Segment Occure
Reply with quote

Thanks Peter!

Have any more link?

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

Site Director


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

PostPosted: Fri Mar 12, 2010 10:26 am    Post subject:
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

Senior Member


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

PostPosted: Fri Mar 12, 2010 1:12 pm    Post subject: Reply to: Difference Between Segment Type and Segment Occure
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    Post subject: Reply to: Difference Between Segment Type and Segment Occure
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

Senior Member


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

PostPosted: Fri Mar 12, 2010 4:12 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

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

Try this one :

http://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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Query using SUBSTRING on a column of ... sasanka DB2 5 Mon Jul 04, 2016 1:01 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us