How to find out the list of jobs with the file name using tso command?
Moderator: mickeydusaor
- Akshya Chopra
- Registered Member
- Posts: 80
- Joined: Mon May 20, 2013 11:32 pm
How to find out the list of jobs with the file name using tso command?
Hi Everyone,
Is there a TSO command using which, we can find out the list of jobs with the file name?
Is there a TSO command using which, we can find out the list of jobs with the file name?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to find out the list of jobs with the file name using tso command?
There is no relationship between job names and file (data set) names. A single job may reference hundreds or thousands of data sets and inversely a single data set can be used by thousands of jobs. So there is not a TSO command to do what you want.
- Akshya Chopra
- Registered Member
- Posts: 80
- Joined: Mon May 20, 2013 11:32 pm
Re: How to find out the list of jobs with the file name using tso command?
Thanks Robert. So how can we do that? Please guide me on that.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to find out the list of jobs with the file name using tso command?
If your site uses a scheduler, investigate what an be done through the scheduler. If your site submits through a PDS or PDSE, use ISPF option 3.14 to search the PDS / PDSE. If neither of these is true, resign yourself to looking at each of the many thousands of job libraries that exist at your site to find the data set or data sets.
If you have MXG or one of its competitors, you can summarize data from it to get what you want.
Or you can use the SMF records to identify data sets and their associated job(s). Record types 14 and 15 are generated for input and output data sets respectively. However, be aware that you need a LOT of system knowledge to be able to process SMF data -- a lot of it is in binary and much of the rest is coded (for example, some of the times in the SMF records are stored as the number of seconds -- or microseconds -- since midnight while others are stored at 8-byte numbers that represent the number of clock intervals of 1.048576 microseconds since January 1, 1900). The records themselves are stored as VBS (variable, blocked, spanned) format.
If you have MXG or one of its competitors, you can summarize data from it to get what you want.
Or you can use the SMF records to identify data sets and their associated job(s). Record types 14 and 15 are generated for input and output data sets respectively. However, be aware that you need a LOT of system knowledge to be able to process SMF data -- a lot of it is in binary and much of the rest is coded (for example, some of the times in the SMF records are stored as the number of seconds -- or microseconds -- since midnight while others are stored at 8-byte numbers that represent the number of clock intervals of 1.048576 microseconds since January 1, 1900). The records themselves are stored as VBS (variable, blocked, spanned) format.
- Akshya Chopra
- Registered Member
- Posts: 80
- Joined: Mon May 20, 2013 11:32 pm
Re: How to find out the list of jobs with the file name using tso command?
Thanks. I have been using ISPF 3.14 but that's very time consuming. But there is a scheduling team also, I reached them too.
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