On Wednesday, October 20, 2010 11:44 AM, August Carideo wrote: > > and I thought all you need to do was make sure the duplicates where at a > higher address on the string > and it would hit the lower ones 1st and advise there was a dupe > after reading these posts I wonder
I have not looked at the code, but if I were to hazzard a guess, I would guess that it processes the volumes in order of increasing subchannel number. Programatically, that is the easiest way to loop through all devices. Start with X'00010000' in register 1 and issue STSCH. Increment the number in register 1 by 1 each time through the loop, and quit when STSCH returns condition code 3 or when X'00020000' is reached. And that does not necessarily correspond to increasing device number order. What you can do is treat certain devices (by device number, not by volser) as "offline at IPL" in the system configuration file to avoid duplicate volsers. Then, specify an alternate configuration file at IPL time to backout, if necessary. The alternate configuration file lists a different range of devices as "offline at IPL". -- .''`. Stephen Powell : :' : `. `'` `-