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
 
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: 2100
Location: 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: 2031
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: 2031
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: 2100
Location: 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: 10521
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: 30
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: 2100
Location: 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: 30
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: 2100
Location: 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 PL/I read error for HFS files Joe Kirsch PL/I & Assembler 6 Fri Sep 28, 2018 9:13 pm
No new posts Find out which PSB is currently sched... Andi1982 IMS DB/DC 0 Mon Sep 24, 2018 3:16 pm
No new posts U0437 to execute IMS DC program Vkp321 IMS DB/DC 6 Wed Sep 19, 2018 8:39 pm
No new posts Sort card to find duplicates, without... anand1204 DFSORT/ICETOOL 15 Fri Aug 31, 2018 12:13 am
No new posts Send data from a CICS TS program to M... spiThingy CICS 2 Wed Aug 08, 2018 8:58 am

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