View previous topic :: View next topic
|
Author |
Message |
Praveen Kumar Kolar
New User
Joined: 18 Mar 2021 Posts: 31 Location: India
|
|
|
|
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 |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1371 Location: Bamberg, Germany
|
|
|
|
Code: |
TSO HSEND LIST DSN BCDS ODS(<output_dsn>) |
will list the datasets. |
|
Back to top |
|
 |
Praveen Kumar Kolar
New User
Joined: 18 Mar 2021 Posts: 31 Location: India
|
|
|
|
Hi Joerg,
Thank you very much for the command. |
|
Back to top |
|
 |
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 593 Location: London
|
|
|
|
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 |
|
 |
|