Caveat: as a daily digestor, list replies are implicitly delayed... We have this step in our weekly job as a source to generate Diagnose & Examine commands. It doesn't rely on knowing what the Master Cat is. If you want a list from a different catalogue, append an explicit CATALOG() option.
//* ------------------------------------------------------- //DIAGNOS EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=(,),OUTPUT=(*.SDSF,*.BETA) //UCATLIST DD DISP=(NEW,PASS), // STORCLAS=STD,DATACLAS=SMALL, // RECFM=VB,LRECL=133 //SYSIN DD DATA LISTCAT USERCATALOG LISTCAT USERCATALOG OUTFILE(UCATLIST) /* --------> signature = 8 lines follows <-------- Neil Duffee, Joe Sysprog, uOttawa, Ottawa, Ont, Canada telephone:1 613 562 5800 x4585 fax:1 613 562 5161 mailto:NDuffee of uOttawa.ca http:/ /aix1.uOttawa.ca/ ~nduffee “How *do* you plan for something like that?” Guardian Bob, Reboot “For every action, there is an equal and opposite criticism.” “Systems Programming: Guilty, until proven innocent” John Norgauer 2004 "Schrodinger's backup: The condition of any backup is unknown until a restore is attempted." John McKown 2015 -----Original Message----- From: venkat kulkarni [mailto:[email protected]] Sent: December 20, 2016 23:46 Subject: Catalog Is there any way to get list of user catalog connected to any particular master catalog ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
