How about just using IEHLIST to get formatted vtoc output! Sent from my Android phone using TouchDown (www.nitrodesk.com)
-----Original Message----- From: John McKown [[email protected]] Received: Wednesday, 23 Apr 2014, 9:11am To: [email protected] [[email protected]] Subject: Re: Inquire SPACE/DIR allocation attributes for a disk resident data set, that information is kept in the VTOC on _each_ volume upon with the DSN resides. And only describes the space _on that particular volume_. The way to get the information is most easily done using the TSO LISTDS command or the REXX LISTDSI function. If you really need the "raw" information, you need to use the OBTAIN service or the CVAF service. refs: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4C5B0/1.23TSO LISTDS command http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A390/4.3.37REXX LISTDSI function http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2S370/1.4 CVAF http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2S370/1.3OBTAIN On Wed, Apr 23, 2014 at 7:58 AM, Gabor Hoffer <[email protected]>wrote: > Hi, > > How can I get allocation attribs for an existing dataset? PRI/SEC Space, > space unit (CYL,TRKS,etc), DIR (in case of PDS) > Where are these informations stored? Do you have any example ASM code for > it? > > Regards, > Gabor > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown ---------------------------------------------------------------------- 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
