View previous topic :: View next topic
|
Author |
Message |
d katkuri
New User
Joined: 27 Feb 2013 Posts: 16 Location: india
|
|
|
|
I will get a list of cataloged datasets in a PS file . Then I want to search through the JCL/PROC libraries to see if those datasets are REFERENCED by the JCL/PROC?
If I don't find any reference, then you want to remove the dataset?
Could you please let me know how to achieve this task |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
again ...
be more detailed about the help You need....
the requirement is so specific that You risk to get just generic replies
read the ISPF manuals on how to invoke the SRCHFOR utility Thru rexx
search the forum and/or google for REXX ISRSUPC |
|
Back to top |
|
|
d katkuri
New User
Joined: 27 Feb 2013 Posts: 16 Location: india
|
|
|
|
Requireemnt:
----------------
PS file:
abc.d1 - dataset
abc.d2 - dataset
abc.d3 - daaset
i need to read each dataset name in a PS file and search in production lib - corp.jcl.lib nad if the dataset is not there in the production LIb then i need to delete the abc.d1 dataset. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
stop repeating the same thing over and over.
do not expect anybody to provide You with a ready to run solution !
did You care to read my previous post on what to search ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And why for the love of God don't you just ask your storage management people to do their jobs properly in ONE hit rather than have someone else running around into eternity chasing spurious datasets through PROCLIBs and JCLLIBs.
ONE single and simple solution resolves this for the rest of time.
Why do you not follow that route instead
Oh, I know ........... It's the requirement |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
It is a shame that people like the TS work in ICT and waste our time.
And always under the pretext that it is the requirement. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
expat wrote: |
And why for the love of God don't you just ask your storage management people to do their jobs properly in ONE hit rather than have someone else running around into eternity chasing spurious datasets through PROCLIBs and JCLLIBs. |
She probably is the storage management workgroup lead. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
You may miss the dataset if it is in a PROCLIB and the dataset name has a Symbolic parameter that is not resolved until execution time.
We have a product to expand our Jobs to resolve these symbolics, so that proper searches can be done. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Duplicate - locked.
The "other" topic has more dialog.
d |
|
Back to top |
|
|
|