Page 1 of 2

Listing datasets

PostPosted: Tue Aug 02, 2011 7:26 pm
by samb01
Hello,

i just want to know if it's possible to get the listing of those datasets :

SXQP.TDF.*

which have been created on 2010.

Re: Listing datasets

PostPosted: Tue Aug 02, 2011 7:31 pm
by enrico-sorichetti
use the ISMF dialogs

Re: Listing datasets

PostPosted: Wed Aug 03, 2011 1:50 pm
by samb01
Have you an example ?

Thanks.

Re: Listing datasets

PostPosted: Wed Aug 03, 2011 3:14 pm
by enrico-sorichetti
Have you an example ?

YES...
if You do not want yes/no answers, do not ask yes/no questions

stupid question, if I hadn' t I would not have suggested it!
what kind of example do You want anyway ...
ISMF is an ISPF based application for storage management,
ask Your support to enable it, and start lurking thru its panels

Re: Listing datasets

PostPosted: Wed Aug 03, 2011 3:28 pm
by enrico-sorichetti
follow on ...
the ISMF primary option panel

   Panel  Help                                                                 
 â€”—————————————————————————————————————————————————————————————————————————————
                  ISMF PRIMARY OPTION MENU - z/OS DFSMS V1 R10                 
 Enter Selection or Command ===>                                               
                                                                               
 Select one of the following options and press Enter:                           
                                                                               
 0  ISMF Profile            - Change ISMF User Profile                         
 1  Data Set                - Perform Functions Against Data Sets               
 2  Volume                  - Perform Functions Against Volumes                 
 3  Management Class        - Specify Data Set Backup and Migration Criteria   
 4  Data Class              - Specify Data Set Allocation Parameters           
 5  Storage Class           - Specify Data Set Performance and Availability     
 9  Aggregate Group         - Specify Data Set Recovery Parameters             
 L  List                    - Perform Functions Against Saved ISMF Lists       
 R  Removable Media Manager - Perform Functions Against Removable Media         
 X  Exit                    - Terminate ISMF                                   
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
 Use HELP Command for Help; Use END Command to Exit.


the dataset selection panel

   Panel  Defaults  Utilities  Scroll  Help                                     
 â€”—————————————————————————————————————————————————————————————————————————————
                         DATA SET SELECTION ENTRY PANEL             Page 1 of 5
 Command ===>                                                                   
                                                                               
 For a Data Set List, Select Source of Generated List  . . 2  (1 or 2)         
                                                                               
   1  Generate from a Saved List         Query Name To                         
        List Name  . .                   Save or Retrieve                       
                                                                               
   2  Generate a new list from criteria below                                   
        Data Set Name . . . **                                                 
        Enter "/" to select option      Generate Exclusive list                 
        Specify Source of the new list  . . 2    (1 - VTOC, 2 - Catalog)       
        1 Generate list from VTOC                                               
           Volume Serial Number . . .            (fully or partially specified)
           Storage Group Name . . . .            (fully specified)             
        2 Generate list from Catalog                                           
           Catalog Name . . .                                                   
           Volume Serial Number . . .            (fully or partially specified)
           Acquire Data from Volume . . . . . . . N  (Y or N)                   
           Acquire Data if DFSMShsm Migrated  . . N  (Y or N)                   
 Use ENTER to Perform Selection; Use DOWN Command to View next Selection Panel;
 Use HELP Command for Help; Use END Command to Exit.


where You can filter according to Your needs

   Panel  Defaults  Utilities  Scroll  Help                                     
 â€”—————————————————————————————————————————————————————————————————————————————
                         DATA SET SELECTION ENTRY PANEL             Page 2 of 5
 Command ===>                                                                   
                                                                               
 To limit the List, Specify a value or range of values in any of the following:
                                 Rel Op    Value     AND/OR  Rel Op    Value   
                                 ------  ----------  ------  ------  ----------
     Allocated Space . . . . . .                                               
     Block/CI Size . . . . . . .                                               
     Block Unused  . . . . . . .                                               
     Creation Date . . . . . . .                                               
     Expiration Date . . . . . .                                               
     Last Backup Date  . . . . .                                               
     Last Reference Date . . . .                                               
     Number of Extents . . . . .                                               
     Number of Stripes . . . . .                                               
     Optimal Block Size  . . . .                                               
     % Space Not Used  . . . . .                                               
     % User Data Reduction . . .                                               
     Record Length . . . . . . .                                               
     Secondary Allocation  . . .                                               
 Use ENTER to Perform Selection; Use UP/DOWN Command for other Selection Panel;
 Use HELP Command for Help; Use END Command to Exit.

Re: Listing datasets

PostPosted: Thu Aug 04, 2011 5:15 pm
by samb01
Sorry,

i forgot to say by batch. Si the ISMF panels doesn't interrest me....

Re: Listing datasets

PostPosted: Thu Aug 04, 2011 5:21 pm
by MrSpock
Sorry, I'm not a storage expert, so I don't know what is or is not available to run in batch, but did an IDCAMS LISTCAT not meet your needs?

Re: Listing datasets

PostPosted: Thu Aug 04, 2011 6:56 pm
by enrico-sorichetti
forgot to say by batch. Si the ISMF panels doesn't interrest me....

thank You very much for making me waste my time ..
that all Your bytes lose their parity


anyway ...
Naviquest component of ISMF will run in batch,
if Your laziness had not prevented You from looking at the manuals You would have already found out about it

Re: Listing datasets

PostPosted: Thu Aug 04, 2011 7:16 pm
by Robert Sample
I'd suggest DCOLLECT as an option, but you'd actually have to do some work to process the data generated.

Re: Listing datasets

PostPosted: Thu Aug 04, 2011 7:42 pm
by enrico-sorichetti
my preference for this kind of <thingies> goes to
an adrdssu copy/dump TYPRUN=NORUN
and if the output does not look good clean it up with
a sort step, or a rexx script

adrdssu filtering is quite sophisticated and really handy if You know how to use it
no I will not provide an example