The key of the discussion was that after the dataset has been allocated, you can retrieve the info of the primary extent of that moment, but not the primary space that was requested at allocation time, which is not the same because of several reasons (primary space in up to 5 extents, adjacent extent merging, RLSE processing, DSS extent consolidation etc.)
Kees. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Steve Coalbran Sent: Thursday, May 14, 2015 9:27 AM To: [email protected] Subject: Re: Primary allocation of a dataset I missed most of the thread but, is this what you mean, in REXX you can issue: RC = LISTDSI('K248610.USER.EXEC' "RECALL DIRECTORY SMSINFO") Which might give results something like this... SYSDSNAME = K248610.USER.EXEC SYSVOLUME = PRI001 SYSUNIT = 3390 SYSDSORG = PO SYSRECFM = FB SYSLRECL = 80 SYSBLKSIZE = 23200 SYSKEYLEN = 0 SYSALLOC = 290 SYSUSED = N/A SYSUSEDPAGES = 1626 SYSPRIMARY = 290 SYSSECONDS = 90 SYSUNITS = BLOCK SYSEXTENTS = 1 SYSCREATE = 2012/102 SYSREFDATE = 2015/134 SYSEXDATE = 0 SYSPASSWORD = NONE SYSRACFA = GENERIC SYSUPDATED = NO SYSTRKSCYL = 15 SYSBLKSTRK = N/A SYSADIRBLK = NO_LIM SYSUDIRBLK = N/A SYSMEMBERS = 391 SYSREASON = 0000 SYSMSGLVL1 = SYSMSGLVL2 = SYSDSSMS = DATA_LIBRARY SYSDATACLASS = NODCB SYSSTORCLASS = TSO SYSMGMTCLASS = STANDARD /Steve From: "Shmuel Metz (Seymour J.)" <[email protected]> To: [email protected] Date: 2015-05-13 19:10 Subject: Re: Primary allocation of a dataset Sent by: IBM Mainframe Discussion List <[email protected]> In <[email protected]>, on 05/06/2015 at 01:43 PM, Fred van der Windt <[email protected]> said: >I want to retrieve the primary allocation of a dataset. You can't get that from the DSCB; the NVR has it for SMS datasets. There is no indication in the VTOC as to which extent came from the primary. The best that you can do is to look at the first extent and hope that it is the only extent initially allocated. Even then you can't tell the allocation units. Query: does that change on an EAV? -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see <http://patriot.net/~shmuel/resume/brief.html> We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN SÃ¥vida annat inte anges ovan: / Unless stated otherwise above: IBM Svenska AB Organisationsnummer: 556026-6883 Adress: 164 92 Stockholm ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
