Here some code. I used it to define extra disks defined on a DS6000. Remark that I first deleted a control unit. Maybe not required in your case.
'/* Some new disks in DS6000 */ address command 'CP SET CONFIGMODE ON' 'CP VARY OFF SUBCH 7700-775F' 'CP VARY OFF SUBCH 7800-785F' 'CP DELETE IODEVICE 7700-775F UNITADD 00 CUNUMBR 5A09' 'CP DELETE IODEVICE 7800-785F UNITADD 00 CUNUMBR 5A08' 'CP DELETE CU 5A08' 'CP DELETE CU 5A09' 'CP DEFINE CU 5A0A TYPE * UNITADD 00-5F CUADD A CHPID 57 2B' 'CP DEFINE CU 5A08 TYPE * UNITADD 00-5F CUADD 8 CHPID 57 2B' 'CP DEFINE CU 5A0C TYPE * UNITADD 00-5F CUADD C CHPID 57 2B' 'CP DEFINE CU 5A0E TYPE * UNITADD 00-5F CUADD E CHPID 57 2B' 'CP DEFINE IODEVICE 7700-773F UNITADD 00 CUNUMBR 5A0A PARTITION BCRSPROD' 'CP DEFINE IODEVICE 7800-783F UNITADD 00 CUNUMBR 5A08 PARTITION BCRSPROD' 'CP DEFINE IODEVICE 7900-793F UNITADD 00 CUNUMBR 5A0C PARTITION BCRSPROD' 'CP DEFINE IODEVICE 7A00-7A3F UNITADD 00 CUNUMBR 5A0E PARTITION BCRSPROD' 'CP SET CONFIGMODE OFF' 2011/1/5 Tom Duerbusch <duerbus...@stlouiscity.com> > I would think that if this DS8100 was already being used by this box, then > the CHPID and PATHs are already defined. If this is a new controller for > you, then you need to do the DEFINE for the controller using the existing > paths. > > In all cases, you would have to do the DEFINE device(s) for the new > volumes. > > Then, you can vary on the devices and be off and running. > > When done, be sure to update your IOCP and put it in the next slot. > Otherwise a Power On Reset, will loose any dynamically defined IOCP stuff. > > > Tom Duerbusch > THD Consulting > > >>> "Frank M. Ramaekers" <framaek...@ailife.com> 1/5/2011 1:57 PM >>> > See DEFINE CHPID|PATH|CU|DEVICE statements. > > > Frank M. Ramaekers Jr. > > > > -----Original Message----- > From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On > Behalf Of Hughes, Jim > Sent: Wednesday, January 05, 2011 1:42 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Dynamically adding 3390's > > We want to define a new controller for some new dasd volumes on our > DS8100. Our Z/OS z10 system has them defined and is working with them > quite nicely. > > Our z890 z/VM system doesn't have them in its IOCP. I've checked the > z/VM system using CP Q DYN STAT and discovered it does allow dynamic io > reconfiguration. > > So, my question is how do I get the new dasd online to z/VM? It will > use existing paths to the DS8100. > > There are 8 devices on this new path. > > I've never done this sort of thing to a running system and have a > certain respect for keeping it up and working. Experimenting is not an > option for me. > > Thanks in advance for hints, tips, and an education. > > ____________________ > James R. Hughes > TSG, Problem Solver > NH Department of Information Technology > 603-271-5586(w); 603-491-3071(c) > www.nh.gov/doit > > "Statement of Confidentiality: The contents of this message are > confidential. Any unauthorized disclosure, reproduction, use or > dissemination (either whole or in part) is prohibited. If you are not > the intended recipient of this message, please notify the sender > immediately and delete the message from your system." > > It is fun to do the impossible. > > _____________________________________________________ > > This message contains information which is privileged and confidential and > is solely for the use of the > > intended recipient. If you are not the intended recipient, be aware that > any review, disclosure, > > copying, distribution, or use of the contents of this message is strictly > prohibited. If you have > > received this in error, please destroy it immediately and notify us at > privacy...@ailife.com. > -- Kris Buelens, IBM Belgium, VM customer support