How to find out the list of jobs with the file name using tso command?

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
User avatar
Akshya Chopra
Registered Member
Posts: 77
Joined: Mon May 20, 2013 11:32 pm
Algeria

How to find out the list of jobs with the file name using tso command?

Post by Akshya Chopra »

Hi Everyone,

Is there a TSO command using which, we can find out the list of jobs with the file name?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to find out the list of jobs with the file name using tso command?

Post by Robert Sample »

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.
User avatar
Akshya Chopra
Registered Member
Posts: 77
Joined: Mon May 20, 2013 11:32 pm
Algeria

Re: How to find out the list of jobs with the file name using tso command?

Post by Akshya Chopra »

Thanks Robert. So how can we do that? Please guide me on that.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to find out the list of jobs with the file name using tso command?

Post by Robert Sample »

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.
User avatar
Akshya Chopra
Registered Member
Posts: 77
Joined: Mon May 20, 2013 11:32 pm
Algeria

Re: How to find out the list of jobs with the file name using tso command?

Post by Akshya Chopra »

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.
Post Reply

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

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”