IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to list the number of backup dataset's in DFHSM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Praveen Kumar Kolar

New User


Joined: 18 Mar 2021
Posts: 31
Location: India

PostPosted: Tue Apr 27, 2021 8:53 pm
Reply with quote

Hi Team,

Is there a way to list all the backup datasets from BCDS apart from running decollect report.

Here is the question I have to answer.

Number of archived datasets? Number of backup datasets?

Thank you in advance!!
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


Joined: 15 Aug 2015
Posts: 619
Location: Bamberg, Germany

PostPosted: Tue Apr 27, 2021 9:01 pm
Reply with quote

Code:
TSO HSEND LIST DSN BCDS ODS(<output_dsn>)

will list the datasets.
Back to top
View user's profile Send private message
Praveen Kumar Kolar

New User


Joined: 18 Mar 2021
Posts: 31
Location: India

PostPosted: Tue Apr 27, 2021 11:17 pm
Reply with quote

Hi Joerg,

Thank you very much for the command.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 509
Location: London

PostPosted: Tue May 04, 2021 7:31 pm
Reply with quote

HSEND command is usually RACF restricted so may not be available.

The HLIST command will be available though (use TSO HELP HLIST for how to use it). But beware that both the LIST or HLIST command can be quite intensive so best done at a quiet time if you want to list everything. Alternatively look at using DFSORT or an OEM product such as FDREPORT (if you have it) to read the DFHSM CDS's directly.

HLIST DSN BCDS only lists dataset backups.

HLIST DSN MCDS lists migrated (archived) datasets.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts how to convert and use 1 bit hex-numb... COBOL Programming 10
No new posts Multiple find/replace on the same dat... DFSORT/ICETOOL 4
No new posts Merge a variable number of records fr... DFSORT/ICETOOL 5
No new posts LMDINIT/LIST/FREE Looping problem TSO/ISPF 12
No new posts Is it possible to allocate DA dataset... All Other Mainframe Topics 5
Search our Forums:

Back to Top