Search file in JCL library.
-
- Registered Member
- Posts: 15
- Joined: Wed Dec 18, 2013 11:19 pm
Search file in JCL library.
Hi,
Please some one help me with this. How to see which job is using the incoming file in JCL library?
Please some one help me with this. How to see which job is using the incoming file in JCL library?
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Search file in JCL library.
if the file name is in clear use the ISPF SRCHFOR utility
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- Anuj Dhawan
- Founder
- Posts: 2802
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Search file in JCL library.
Yes, unless it's a trick question - locate the library in ISPF 3.4 and issue SRCHFOR 'dataset to search' on command line. That should highlight the PDS having the 'dataset to search'.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 15
- Joined: Wed Dec 18, 2013 11:19 pm
Re: Search file in JCL library.
Thanks both of you.
Can we also write a REXX to call ISPF SRCHFOR to run it in batch.
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Search file in JCL library.
or better, You might want to look at the manuals to see how to directly invoke srchfor in batchCan we also write a REXX to call ISPF SRCHFOR to run it in batch.
if You are too lazy to look at the manuals, the ISPF srchfor dialogs have an option to run in batch
so Yous do not even have to write the JCL Yourself, ISPF does it for You
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Registered Member
- Posts: 15
- Joined: Wed Dec 18, 2013 11:19 pm
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute