Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
For a Given Qualifier, info needed for all its dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sarbamrit

New User


Joined: 15 Oct 2007
Posts: 12
Location: Kentucky

PostPosted: Thu Oct 25, 2007 8:15 am    Post subject: For a Given Qualifier, info needed for all its dataset
Reply with quote

Hi,

I'm having below 2 info
1. Dataset Highest Qualifier e.g. F6404 (Must)
2. Last Access On [ in days ] e.g. 120.. (Optional). Default is 1.

Requirement is that i need to find out all those datasets (all types) for the given qualifier which have NOT been accessed for so many days.

Need to extract below Info
Dataset Name -- Type -- Created On -- Last Access -- Size
-------------------- ------ ------------- -------------- -----
F6404.PROD.CVG -- PS -- 10/03/2002 -- 03/09/2006 -- 13534532
where size is in TRKS

In short we need to find the datasets which remain in the system untouched forever occupying unnecessary DASD or TAPE.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu Oct 25, 2007 11:47 am    Post subject: Reply to: For a Given Qualifier, info needed for all its dat
Reply with quote

You can do it under TOS using the ISMF dialogs
or in batch processing the DCOLLECT output
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Oct 25, 2007 2:34 pm    Post subject:
Reply with quote

You can use the ISPF service LMDLIST.

O.
Back to top
View user's profile Send private message
sarbamrit

New User


Joined: 15 Oct 2007
Posts: 12
Location: Kentucky

PostPosted: Thu Oct 25, 2007 10:52 pm    Post subject:
Reply with quote

Can i have the JCL for same.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu Oct 25, 2007 11:21 pm    Post subject: Reply to: For a Given Qualifier, info needed for all its dat
Reply with quote

Quote:
Can i have the JCL for same.


NO!!

At most You might get a hint on how to proceed,
You should remember that what You are asking is something
which has to be customized for Your needs

You are asking for the space allocated in tracks...
this info must be calculated, the information is stored in the VTOC in the
units specified at allocation time, ( KB, records, blocks, tracks, cylinders )
You need to normalize by taking into account all the parameters
blksize, track capacity, tracks per cylinder

Why not start by analyzing the data provided by ISMF ??
You will certainly learn a lot of things, and start to have a more clear view
of the concept of storage management and administration
( ISMF panels and reporting facilities will let You know what info You have available )

Since the operation will be manual at the initial stages of the project, to run the reports interactively will help adjust the parametrization

as an alternative You might use the IDCAMS DCOLLECT function
and search the IBM site for the dfsort samples and symbols that can be
used to process DCOLLECT data
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us