Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to find if segment is read in any program.

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

New User


Joined: 19 Sep 2018
Posts: 4
Location: India

PostPosted: Thu Sep 20, 2018 1:34 pm    Post subject: How to find if segment is read in any program.
Reply with quote

Hi,
I have one child segment in IMS DB and i need to find if it is read in any of the program or not.
I tried searching one-by-one in few programs but this child segment is not mentioned instead its parent segment is read.

Is there any other way than manually checking one by one in all programs to confirm if child segment is read or not ?

Thanks,
Priyanka
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2247
Location: Hampshire, UK

PostPosted: Thu Sep 20, 2018 2:27 pm    Post subject: Reply to: How to find if segment is read in any program.
Reply with quote

Why do it manually? Why not use the search utility - 3.14 on my system.
Back to top
View user's profile Send private message
Priyanka AR

New User


Joined: 19 Sep 2018
Posts: 4
Location: India

PostPosted: Fri Sep 21, 2018 11:49 am    Post subject:
Reply with quote

Thanks Nic. Somehow i got few programs which are reading this child segment.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2299
Location: NY,USA

PostPosted: Fri Sep 21, 2018 4:43 pm    Post subject:
Reply with quote

Quote:
Somehow i got few programs which are reading this child segment
out of thin air? How did you get it ?
Back to top
View user's profile Send private message
Priyanka AR

New User


Joined: 19 Sep 2018
Posts: 4
Location: India

PostPosted: Tue Sep 25, 2018 5:40 pm    Post subject:
Reply with quote

I did srchfor with segment name. And then started checking program by program(as few programs were only mentioned segment name in comment and not actually reading it) and got 1-2 programs reading that segment.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2299
Location: NY,USA

PostPosted: Tue Sep 25, 2018 9:13 pm    Post subject:
Reply with quote

You said "Somehow" so I wondered how did you get it if not 3.14 (SRCHFOR). Thanks.
Back to top
View user's profile Send private message
Priyanka AR

New User


Joined: 19 Sep 2018
Posts: 4
Location: India

PostPosted: Wed Sep 26, 2018 11:39 am    Post subject:
Reply with quote

ohh "somehow" was for i got within first few programs(luckily). 3.14 options i already used, i wanted to know is there anything else.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2247
Location: Hampshire, UK

PostPosted: Wed Sep 26, 2018 2:10 pm    Post subject: Reply to: How to find if segment is read in any program.
Reply with quote

Your version/change control software (endevor/changeman/whatever) should also be able to find all occurrences.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10631
Location: italy

PostPosted: Wed Sep 26, 2018 2:49 pm    Post subject: Reply to: How to find if segment is read in any program.
Reply with quote

all depends ..
only if the segment layout is a standalone copybook/source

but the same result can be obtained - with the same assumption - under plain good ole ISPF by invoking the member parts list,
which can produce a formatted printout or a raw dataset that can be processed by a user program ( rexx would be a good candidate )
Back to top
View user's profile Send private message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 31
Location: india

PostPosted: Wed Sep 26, 2018 3:42 pm    Post subject:
Reply with quote

Attempt at hi-jacking deleted.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2247
Location: Hampshire, UK

PostPosted: Wed Sep 26, 2018 5:25 pm    Post subject: Reply to: How to find if segment is read in any program.
Reply with quote

Go start your own thread. Do not hijack that of other people.
Back to top
View user's profile Send private message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 31
Location: india

PostPosted: Wed Sep 26, 2018 6:34 pm    Post subject:
Reply with quote

It is matter of avoiding duplicate threads .. If i start a new thread people will ask not to post duplicate questions.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2247
Location: Hampshire, UK

PostPosted: Wed Sep 26, 2018 11:22 pm    Post subject: Reply to: How to find if segment is read in any program.
Reply with quote

If yours would have been a duplicate why post it? Why not simply try the suggestions posted here?
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 Running a REXX exec program using ZOSMF Sakthi344 CLIST & REXX 1 Tue Oct 15, 2019 3:13 pm
No new posts Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm
No new posts How to handle NULL in COBOL program bhaskar_kanteti COBOL Programming 8 Mon Oct 07, 2019 3:54 pm
No new posts KSDS direct READ clause after READ NEXT sophia.lee JCL & VSAM 0 Tue Oct 01, 2019 10:10 am
No new posts REXX - CLIST program to be invoked af... pkmurali CLIST & REXX 5 Wed Sep 04, 2019 4:31 pm

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