Look at the syntax diagram for the LIST command. The SELECT operand for the DSN path does not support a value of BACKUP.
The same diagram shows that the DSN path defaults to the MCDS which explains your results. However, there is a way to specify you want the info from the BCDS. > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of willie bunter > Sent: Thursday, June 29, 2017 5:47 AM > To: [email protected] > Subject: DRHSM QUESTION > > Hallo To All, > > I am trying to get a list of all dsns which have a HSM backup. I tried the > following command but it listed the dsns on ML2. Can someone spot my > error? > > HSEND LIST DSN SELECT(BACKUP) - > ODS(PRODD.LIST.ALL.BACKUP) > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
