Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Parsing Root segments

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
sanil m

New User


Joined: 24 Aug 2007
Posts: 38
Location: chennai

PostPosted: Fri Oct 23, 2009 1:42 am    Post subject: Parsing Root segments
Reply with quote

Hi all,

I have a scenario. I want to identify the root segment alone.


Database layout.


Lets say level 0 Hospital-1, Hospital-2, Hospital-3,4,5 => Hospital Segment

Hospital-1 has Ward-A, Ward-B, Ward-C => Ward Segment

Ward-A has Patient-1, Patient-2, Patient-3 => Patient Segment

Similarly for Hospital-2 , Ward-A, Ward-B, Patient-A, Patient-B


I'm reading the DB from Hospital 3 onwards by using a GU call to reposition at Hospital-3.

Then i'm reading the Hospital, Wards and Patient Information to the IO Area starting from Hospital - 3.

But when i get the Hospital segment in the IO Area (lets say Hospital-6), i want to identify.


Could anyone please help me on this ?...
Back to top
View user's profile Send private message

Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Oct 23, 2009 11:36 am    Post subject:
Reply with quote

Anil,
You can use Segment level field in your PCB to identify the Hospital segment.

Check this post for more information.

http://ibmmainframes.com/viewtopic.php?t=44209
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Oct 23, 2009 4:24 pm    Post subject:
Reply with quote

You can also look at the key feedback area in your PCB.
Back to top
View user's profile Send private message
sanil m

New User


Joined: 24 Aug 2007
Posts: 38
Location: chennai

PostPosted: Fri Oct 23, 2009 5:27 pm    Post subject:
Reply with quote

Thank you all
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 INREC PARSING and dictionary items migusd SYNCSORT 6 Fri Jun 02, 2017 8:02 pm
No new posts How to define PCB for paired segments ashok_uddaraju IMS DB/DC 4 Tue Jun 14, 2016 11:40 pm
No new posts Parsing and Listing a Subset of Recor... Charles Wolters IBM Tools 3 Fri Feb 05, 2016 10:39 pm
No new posts Parsing JCL SET var=value statements prino CLIST & REXX 0 Sat Dec 26, 2015 4:41 am
No new posts XML PARSING mallik4u DB2 4 Thu Feb 26, 2015 9:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us