That would be an excellent mod. IBM should incorporate it, upgrade CMS.
Joseph Vitale Technology Services Group Mainframe Operating Systems Pershing Plaza 95 Christopher Columbus Drive Floor 14 Jersey City, N.J. 07302 Work 201-395-1509 Cell 917-903-0102 -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Ray Mansell Sent: Tuesday, February 03, 2015 10:09 AM To: [email protected] Subject: Re: Expanding CMS Mini Disk - DDR or Copyfile? - still not expanding Back in those same mid-80s I added code to the FORMAT command to provide an 'EXTEND' option. You could create a new, larger minidisk, the first cylinders of which were a replica of the old one. Then you could simply FORMAT the new minidisk, specifying the EXTEND option, and it would magically grow in size to occupy all of the new space, with all of the original files intact. Now, I wonder where I stashed that code... Ray On 2/2/2015 19:19, Alan Altmark wrote: > On Monday, 02/02/2015 at 05:55 EST, Rick Troth > <[email protected]> wrote: >> Evidently, FORMAT makes a note of the number of cylinders it block >> formatted (the "low level" phase) first time around. Guessing that is >> the purpose of ADTMCYL. I should have known. Sorry, Joe. >> >> So you can (RECOMP smaller and you can (RECOMP larger, but no larger >> than some pre-detected size. > You can't RECOMP anything larger than the originally formatted size. You > can RECOMP lower and back again, but no larger. And, yes, ADTMCYL > holds the number of formatted cylinders.. > > The protection is in place because of the allocation map. Unlike > other files on the disk, it is in a fixed location since it is written > during FORMAT and its size never changes, as that size is based on the > size of the disk. But if you add more cylinders, you add more blocks. > And as you do that, the allocation map has to grow. But it can't > grow. It's surrounded by other data. > > I have to say, it's kind of fun to lean back in my rocking chair and > see my programmer id in FORMAT (DMSFOR) from back in the mid-80s. :-) > > Alan Altmark > > Senior Managing z/VM and Linux Consultant Lab Services System z > Delivery Practice IBM Systems & Technology Group > ibm.com/systems/services/labservices > office: 607.429.3323 > mobile; 607.321.7556 > [email protected] > IBM Endicott > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/ The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
