Thanks Graham, I know. The original OP (Gadi) asked for a simply way to retrieve some information, so instead of telling him RTFM I tried to point him to some already existing code snippets. I personally use DCOLLECT frequently in storage management. Christian
-----Ursprüngliche Nachricht----- Von: IBM Mainframe Discussion List [mailto:[email protected]] Im Auftrag von Graham Harris Gesendet: Mittwoch, 30. Juli 2014 23:04 An: [email protected] Betreff: Re: Retireiving DCB information for migrated datasets Did you look at DCOLLECT? That has all the fields you want. This is a z/OS2.1 link to the fields, but i am sure you have access to your own appropriate docs. http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.idai200/dgt3i294.htm On 30 July 2014 16:50, Christian Birr <[email protected]> wrote: > Hi Greg, > I remembered you piece of code this afternoon, too. Due to some > 'important' meetings I just came to assemble it, put in the TSO command > table and tried it in one of my sandboxes. It came back with an "RC of 4, > contact your system support", which is mainly me and myself. I haven't the > time to inspect the code more deeply, but could it be, there's a mismatch > between you home grown MCD DSECT and the current one? The listing of the > DESCT is right beside me and I'll look into it tomorrow, or might it be an > error on my side? > Greetings from lower Bavaria > Christian > > -----Ursprüngliche Nachricht----- > Von: IBM Mainframe Discussion List [mailto:[email protected]] Im > Auftrag von Greg Price > Gesendet: Mittwoch, 30. Juli 2014 17:27 > An: [email protected] > Betreff: Re: Retireiving DCB information for migrated datasets > > On 30/07/2014 4:56 PM, גדי בן אבי wrote: > > Is it possible to retreive DCB information (LRECL, BLKSIZE, RECFM, > DSORG) for migrated datasets, without recalling the dataset? > > Check out the $HMLIST command in CBT file 134. > It reads the MCDS directly. > Output can go to the terminal or a data set. > > Cheers, > Greg > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
