Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Dataset information

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Aug 06, 2008 7:22 pm    Post subject: Dataset information
Reply with quote

Hi,
I want to get the 'Dataset Information' of a dataset onto a file to my desktop. (preferabaly notepad). Is there code to get that onto my desktop. I've attached a screen shot of my dataset information. It's named as 'CPEP.CAPACITY.MONTHS'. I want to get 'Allocated Cylinders'., 'Allocated Extents', ' Used Cylinders', 'Used Extents' onto a text file on my desktop.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 06, 2008 7:33 pm    Post subject: Reply to: Dataset information
Reply with quote

I don't know how your site configures your desktops, so I can't comment as to the availability of FTP services.

You might want to use the ISPF Transfer Option (ISPF Option 3.7).
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1529
Location: Andromeda Galaxy

PostPosted: Wed Aug 06, 2008 7:37 pm    Post subject:
Reply with quote

RohithRaj,

Try to LISTDSI the dataset and capture the output.
For further details try to search LISTDSI in the forum.

Please search forum for your other requirements icon_smile.gif


Regds,
Prem
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Aug 06, 2008 7:38 pm    Post subject:
Reply with quote

Ok, thnx for the reply.
I dont want to goto FTP now. Is there a code to get that information onto a file in the mainframes itself..?
Let the data be expoerted to a member in my dataset.
This is my lib- nbkdvau.source.data
member - info
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Aug 06, 2008 7:51 pm    Post subject:
Reply with quote

Can you give me the full command of using LISTDSI???
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 06, 2008 7:52 pm    Post subject: Reply to: Dataset information
Reply with quote

LISTDSI TSO/E REXX function or, the ISPF DSINFO Service.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Aug 06, 2008 7:54 pm    Post subject:
Reply with quote

Check you terminal emulator it may have a macro facility that will let you pick data from the screen and write it to a dataset. Or just use cut and paste.
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Aug 06, 2008 7:56 pm    Post subject:
Reply with quote

I dont want to cut and paste the information on 28 datasets everyday onto a excel and do the analysis.
If there is a means to get that onto a memebr in my library, I can do the rest.
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Aug 06, 2008 8:08 pm    Post subject:
Reply with quote

Does LISTDI needs to be in a REXX program???
or is it a line command?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 06, 2008 8:11 pm    Post subject: Reply to: Dataset information
Reply with quote

It's a REXX (or CLIST) function. The only closely related TSO/E commands that I can think of are LISTCAT and LISTDS.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Wed Aug 06, 2008 9:22 pm    Post subject: Reply to: Dataset information
Reply with quote

Many choices available
  • SAVE command in data set list
  • LMDLIST loop in Rexx or CLIST
  • 'SYS1.SAMPLIB(IGGCSIRX)' and other CSI callers
  • LISTCAT (outtrapped or fom IDCAMS)
  • other utilities (ISMF, etc)


LMDLIST probably right for you + ispf workstation agent
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Fri Aug 08, 2008 4:59 pm    Post subject: LISTDSI doesnt work.
Reply with quote

My Dataset is multi volumed (see the screen shot), and when i execute LISTDI, the out put I get is
FUNCTION CODE FROM LISTDSI IS: 4
THE DATA SET NAME IS: CPEP.CAPACITY.MONTHS
VOLUME SERIAL ID IS: 1SCP85
DATA SET ORGANIZATION: PS
PRIMARY ALLOCATION IN SPACE UNITS: 1219
SECONDARY ALLOCATION IN SPACE UNITS 100
THE ALLOCATION IN SPACE UNITS IS: 4300
TRACKS PER CYLINDER FOR THE UNIT IDENTIFIED 15
USED SPACE IS 4300
NUMBER OF EXTENTS ALLOCATED IS 3


So please tell me what code I should use to list all the allocated primary and secondary.
Back to top
View user's profile Send private message
RohithRaj

New User


Joined: 06 Aug 2008
Posts: 13
Location: Hyderabad

PostPosted: Fri Aug 08, 2008 5:00 pm    Post subject: Reply to: Dataset information
Reply with quote

here is the attachment.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 08, 2008 5:12 pm    Post subject: Re: Reply to: Dataset information
Reply with quote

RohithRaj wrote:
here is the attachment.


DO NOT POST ATTACHMENTS

As like myself, many people can not open them !!!
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Fri Aug 08, 2008 9:38 pm    Post subject: Reply to: Dataset information
Reply with quote

1. Issue LISTCAT command of TSO to get the list of volids.

2. issue LISTDSI function with the optional VOLUME(1SCP85) parameter, for each of the volids that you find.

3. total the space information yourself.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Obtaining file information pahiker COBOL Programming 25 Tue Sep 27, 2016 7:25 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us