Creating alist of dataset as per mainframe IDs.

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.

Topic author
Kotak
Registered Member
Posts: 16
Joined: Mon Nov 04, 2013 11:36 pm
Has thanked: 5 times

Creating alist of dataset as per mainframe IDs.

Postby Kotak » Sat Feb 11, 2017 10:56 am

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.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1201
Joined: Fri Jun 28, 2013 1:22 am
Location: East Dubuque Illinois
Has thanked: 2 times
Been thanked: 81 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Robert Sample » Sat Feb 11, 2017 7:58 pm

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).




nicc
Global Moderator
Global Moderator
Posts: 524
Joined: Wed Apr 23, 2014 8:45 pm
Been thanked: 11 times

Re: Creating alist of dataset as per mainframe IDs.

Postby nicc » Sat Feb 11, 2017 8:40 pm

You have posted under IMS so are you really asking about personal IMS databases or are you talking about all personal data sets?


Regards
Nic

User avatar

Anuj Dhawan
Founder
Posts: 2376
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Has thanked: 146 times
Been thanked: 63 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Anuj Dhawan » Sat Feb 11, 2017 8:46 pm

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.


Thanks,
Anuj


Topic author
Kotak
Registered Member
Posts: 16
Joined: Mon Nov 04, 2013 11:36 pm
Has thanked: 5 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Kotak » Mon Feb 13, 2017 2:57 pm

Robert Sample wrote:Source of the post 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?




Topic author
Kotak
Registered Member
Posts: 16
Joined: Mon Nov 04, 2013 11:36 pm
Has thanked: 5 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Kotak » Mon Feb 13, 2017 2:57 pm

nicc wrote:Source of the post 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?




enrico-sorichetti
Global Moderator
Global Moderator
Posts: 807
Joined: Wed Sep 11, 2013 3:57 pm
Been thanked: 65 times

Re: Creating alist of dataset as per mainframe IDs.

Postby enrico-sorichetti » Mon Feb 13, 2017 3:56 pm

moved


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 8-)

User avatar

Anuj Dhawan
Founder
Posts: 2376
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Has thanked: 146 times
Been thanked: 63 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Anuj Dhawan » Mon Feb 13, 2017 4:18 pm

Kotak wrote:Source of the post 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).


Thanks,
Anuj

User avatar

vasanthz
Registered Member
Posts: 17
Joined: Tue Dec 06, 2016 1:06 am
Been thanked: 10 times

Re: Creating alist of dataset as per mainframe IDs.

Postby vasanthz » Tue Feb 14, 2017 12:20 am

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




Topic author
Kotak
Registered Member
Posts: 16
Joined: Mon Nov 04, 2013 11:36 pm
Has thanked: 5 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Kotak » Wed Feb 15, 2017 1:50 pm

enrico-sorichetti wrote:Source of the post moved

Thanks enrico.




Topic author
Kotak
Registered Member
Posts: 16
Joined: Mon Nov 04, 2013 11:36 pm
Has thanked: 5 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Kotak » Wed Feb 15, 2017 1:52 pm

Anuj Dhawan wrote:Source of the post
Kotak wrote:Source of the post 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.




Topic author
Kotak
Registered Member
Posts: 16
Joined: Mon Nov 04, 2013 11:36 pm
Has thanked: 5 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Kotak » Wed Feb 15, 2017 1:56 pm

Thanks vasanthz.



User avatar

Anuj Dhawan
Founder
Posts: 2376
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Has thanked: 146 times
Been thanked: 63 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Anuj Dhawan » Thu Feb 16, 2017 11:26 am

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.


Thanks,
Anuj

User avatar

vasanthz
Registered Member
Posts: 17
Joined: Tue Dec 06, 2016 1:06 am
Been thanked: 10 times

Re: Creating alist of dataset as per mainframe IDs.

Postby vasanthz » Fri Feb 17, 2017 12:11 am

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.



User avatar

Anuj Dhawan
Founder
Posts: 2376
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Has thanked: 146 times
Been thanked: 63 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Anuj Dhawan » Fri Feb 17, 2017 12:28 pm

I thought I was getting old as could not recall to use those commands. :)


Thanks,
Anuj

User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1201
Joined: Fri Jun 28, 2013 1:22 am
Location: East Dubuque Illinois
Has thanked: 2 times
Been thanked: 81 times

Re: Creating alist of dataset as per mainframe IDs.

Postby Robert Sample » Fri Feb 17, 2017 6:17 pm

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?




Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests