Page 1 of 1

Creating alist of dataset as per mainframe IDs.

Posted: Sat Feb 11, 2017 10:56 am
by Kotak
Hello All,

In my office we are doing a "cost saving" activity. One of the activity which came to me is like that employees here can create new dataset using their mainframe IDs; I have to create the list of all such datasets. If any one have any example using which it can become easy please let me know.

It will really be a great help.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Sat Feb 11, 2017 7:58 pm
by Robert Sample
ISPF 3.4 will do it, if you have a list of the user ids or if there is a pool of disk volumes for user data sets. DCOLLECT will do it but will require manipulation of the output to remove non-user id data sets (unless there is a pool of disk volumes).

Re: Creating alist of dataset as per mainframe IDs.

Posted: Sat Feb 11, 2017 8:40 pm
by nicc
You have posted under IMS so are you really asking about personal IMS databases or are you talking about all personal data sets?

Re: Creating alist of dataset as per mainframe IDs.

Posted: Sat Feb 11, 2017 8:46 pm
by Anuj Dhawan
Along with what Robert has said, this might also help you:

Code: Select all

//STEP10  EXEC PGM=IKJEFT1A                       
//SYSPROC   DD DSN=SYS1.SAMPLIB,DISP=SHR         
//SYSTSPRT  DD DSN=...list,             
//             DISP=(NEW,CATLG,DELETE),           
//             UNIT=DISK,SPACE=(CYL,(10,10),RLSE),
//             DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
//SYSTSIN   DD *                                 
%IGGCSIRX                                         
HLQ.*
/*                                               
// 
Where HLQ is the High Level Qualifier you want to search on or the mainframe ID in your case.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Mon Feb 13, 2017 2:57 pm
by Kotak
Robert Sample wrote: ISPF 3.4 will do it, if you have a list of the user ids or if there is a pool of disk volumes for user data sets. DCOLLECT will do it but will require manipulation of the output to remove non-user id data sets (unless there is a pool of disk volumes).
Can we save the list shown in the ISPF 3.4?

Re: Creating alist of dataset as per mainframe IDs.

Posted: Mon Feb 13, 2017 2:57 pm
by Kotak
nicc wrote: You have posted under IMS so are you really asking about personal IMS databases or are you talking about all personal data sets?
Sorry, by mistake it is posted here. Where should I post it again?

Re: Creating alist of dataset as per mainframe IDs.

Posted: Mon Feb 13, 2017 3:56 pm
by enrico-sorichetti
moved

Re: Creating alist of dataset as per mainframe IDs.

Posted: Mon Feb 13, 2017 4:18 pm
by Anuj Dhawan
Kotak wrote: Sorry, by mistake it is posted here. Where should I post it again?
Please don't post it in any part of the Forum, a moderator can move it for you (as done by Enrico here).

Re: Creating alist of dataset as per mainframe IDs.

Posted: Tue Feb 14, 2017 12:20 am
by vasanthz
Can we save the list shown in the ISPF 3.4?
1. After you bring up the list of datasets, on the command line issue the command SAVE followed by any word, example

Code: Select all

SAVE DOGE
2. You will get a message on the right top "Data set list saved"
Hit PF1 key, ISPF would tell you where the list of datasets are saved.

Code: Select all

  The listing of data sets was placed in 'WELLS.DOGE.DATASETS' 
3. ????
4. Profit

Re: Creating alist of dataset as per mainframe IDs.

Posted: Wed Feb 15, 2017 1:50 pm
by Kotak
enrico-sorichetti wrote: moved
Thanks enrico.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Wed Feb 15, 2017 1:52 pm
by Kotak
Anuj Dhawan wrote:
Kotak wrote: Sorry, by mistake it is posted here. Where should I post it again?
Please don't post it in any part of the Forum, a moderator can move it for you (as done by Enrico here).
Ok anuj, I won't do that.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Wed Feb 15, 2017 1:56 pm
by Kotak
Thanks vasanthz.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Thu Feb 16, 2017 11:26 am
by Anuj Dhawan
vasanthz wrote: 3. ????
4. Profit
Okay a rookie question - what are these two commands for?

PS.: I'm in a role where mainframe' access is not a regular happening in my life.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Fri Feb 17, 2017 12:11 am
by vasanthz
step1 step2 ??? profit
It is a meme :-)

https://www.google.com/url?sa=t&rct=j&q ... 4024,d.cGc
PS.: I'm in a role where mainframe' access is not a regular happening in my life
That sounds bad or maybe not, hope you are enjoying what you do.

Re: Creating alist of dataset as per mainframe IDs.

Posted: Fri Feb 17, 2017 12:28 pm
by Anuj Dhawan
I thought I was getting old as could not recall to use those commands. :)

Re: Creating alist of dataset as per mainframe IDs.

Posted: Fri Feb 17, 2017 6:17 pm
by Robert Sample
The meme brings to my mind a question -- the original post was about cost savings. How, exactly, will generating a list of data sets created by each user id lead to savings? And since user id data sets tend to be a small percentage of the total disk space used, is this "cost savings" approach being extended to look at every high level qualifier on the system? Does the site rent / lease their DASD or did they buy it?

Re: Creating alist of dataset as per mainframe IDs.

Posted: Mon Jul 03, 2017 5:08 pm
by Kotak
Robert Sample wrote: The meme brings to my mind a question -- the original post was about cost savings. How, exactly, will generating a list of data sets created by each user id lead to savings? And since user id data sets tend to be a small percentage of the total disk space used, is this "cost savings" approach being extended to look at every high level qualifier on the system? Does the site rent / lease their DASD or did they buy it?
They have bought mostly but some are on lease also.

Yes, generating a list of the data-sets with each ID we are going to see if they are needed also it's extended to every high level qualifier.