|
View previous topic :: View next topic
|
| Author |
Message |
shaktieswararao.Hazaru
New User

Joined: 25 Sep 2010 Posts: 20 Location: Hyderabad
|
|
|
|
HI,
How can we identify the programs using the same copybook by using the 3.14 option. |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
i have always searched for ' COPY '.
used the parm that includes the member name on each line. IDX or something, you will have to look in the documentation or PF1 help.
also used the parm that excludes comments.
the output list is then every line in every module that contains the COPY cobol directive.
sometimes I write a REXX Script to scrap the output, sometimes I just edit the output and use commands like shift left, shift right, change all, x all.
the end product is to produce a file with each line containing
a module name - in column 1-10
and the copybook that was ' COPYed'. - in column 20 - 30.
now I can sort on the copybook name, module name.
then write a REXX script to consolidated based on copybook name,
or use sort to accomplish the same.
it is up to you to decide which tools to use. |
|
| Back to top |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
| A good SCM tool could give all information. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| but also the ISPF member parts list ( option 4.12 IIRC ) |
|
| Back to top |
|
 |
Mrspredeep
New User
Joined: 30 Jun 2010 Posts: 28 Location: USA
|
|
|
|
in start 3.4, when you are in the PDS with the programs, you could enter
SRCHFOR <copybookname>
This searches for all members that contain the word <copybookname>
That's how I do it. |
|
| Back to top |
|
 |
Akatsukami
Global Moderator

Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
| PeterHolland wrote: |
| A good SCM tool could give all information. |
Can it do so, or can it do so if its data base has been conscientiously kept up to date?
The reason that I ask is that my shop is desperately trying to determine the relationships between components (jobs, load modules, source modules, etc.) so that proper impact analysis can be done. We have never done this before, have no existing SCM tools (save a few homebrewed ones), and have some extremely non-standard practices that are causing all kinds of agita (e.g., module names are considered to be only five characters long; positions 6-8 are used as the version number!) It would be nice (although not very probable, IMPO) if I could point to a tool that would do even 80% of what we need in an automated fashion.
(The spellchecker suggests that I change "SCM" to either "SCAM" or "SCUM". Nonetheless, I agree that SCM tools do have value ) |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
for an initial approach the ispf member parts list is quite useful at least for sources
it cross references copy/include and call statements
for ASM, COB, FOR/FTN, PAS, PL1/PLI, SCR(script). |
|
| Back to top |
|
 |
shaktieswararao.Hazaru
New User

Joined: 25 Sep 2010 Posts: 20 Location: Hyderabad
|
|
|
|
I agree with Mrspredeep.
We can search it in ISPF 3.14 option, with the copybook name in search string and with proper DSN name.
It gives the list of programs that are using the copybook |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
I guess that after one year nobody would care about Your agreement  |
|
| Back to top |
|
 |
|
|